LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sys exec seems not to exit

Hello,

 

I am executing python script via exec, the script finished running, but sometimes I didn't get an expected standard output, and my program got stuck there, so I am suspecting that exec did not successfully exit even though the script finished running. What should I do to avoid this?

 

Previously I did not put 'cmd /c in the front', after adding this, the occurrance did come down.

 

Any help is appreciated, thank you!

0 Kudos
Message 1 of 2
(1,805 Views)

Your path should be where python executable installed along with that you'd call python program not along with python.exe.

I've some sample program for the same, try out it.

Download All
0 Kudos
Message 2 of 2
(1,775 Views)