LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

System Exec not working in executable

Solved!
Go to solution

Again I must be doing something silly! 

I am using System Exec to start/stop services. It works well on my development machine but on a standalone pc with only run-time license installed, it simply could not start/stop those services! 

I did some research and found we have to configure executable or another alternative is to use .net to achieve this. Could I stick with System Exec to achieve this?

 

Many thanks

K Waris

 

ATE and Labview Consultant
https://www.easybodge.com
0 Kudos
Message 1 of 2
(2,775 Views)
Solution
Accepted by topic author k-waris
Sounds to me like a permission error - are you running as an administrator on the development machine, but as a less-privileged user on the other computer? Does system exec return an error (try adding a simple error handler)?
Message 2 of 2
(2,749 Views)