03-27-2017 03:45 PM
I have a quick question in regards to command line arguments.
Right now, if I execute my .exe file through cmd and add an argument like 1234, the program will throw an error as seen in the attached image. However, if I were to put a character such that the argument is -1234, then the error is not going to be visible.
I have tried to search for documentation and such but found nothing.
Ideas?
I also assumed that maybe because it is a number that it's causing the error to pop up. For example, if I put .../testexec.exe 1234, the error would show up. It would also show up if I use "1234" but not for '1234'.
Any help would be apperciated. thanks!
Solved! Go to Solution.
03-28-2017 04:39 AM - edited 03-28-2017 04:40 AM
I see that you are using TestStand and the error you are getting seems specific to that product, so I suggest you repost this question to TestStand board or ask a moderator to move it there.
In the meanwhile, I was able to find this help page that speaks about command line parameters passed to executables: maybe it can help you.
05-03-2017 08:06 AM
This error is fixed.
It was the cause of TestStand taking the argument and trying to process the command line.
After disabling the setting through API, there was no more issues.
TSUI_ApplicationMgrSetProcessCommandLine()