search for: strjava

Displaying 1 result from an estimated 1 matches for "strjava".

2008 Jul 30
4
launch linux script from windows application
...it through the command line, but when I launch it inside my windows app doesn't work. In order to launch it from my windows application I use the _spawnlp function. The return status is -1. There is the code: Code: char str_aux[MAX_PATH+1]; int result = _spawnlp(_P_NOWAIT, "/home/dims/strjava","/home/dims/strjava", str_aux, NULL ); In str_aux I send the parameters that the linux script needs. The script strjava is 'chmod a+x'. In order to find out if the script is launched, the first thing that it does is echo the parameters to a file. It does nothing. Somebo...