The following screenshot shows the LabVIEW block diagram and output.

Here is the output text.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\sesa351813\Desktop\ajay\python>More?
To use System Exec.vi you should pass what you are trying to execute to the 'command line' connector. Running as if from the command shell would require you to preface your command with 'cmd /c'. To get a directory listing your could use:

In your case if you pass the string 'cmd /c python hello.py' then this should execute correctly.

Execute python directly and don't go through the Windows command line. Replace c:\full\path\to\python with wherever it's installed on your system.


If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With