Displaying 2 results from an estimated 2 matches for "_spawnlp".
2008 Jul 30
4
launch linux script from windows application
...it in Linux with Wine. It works fine except when i have to run some java code, in order to do that i wrote a bash script that works ok when I launch 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 'chmo...
2011 Sep 16
3
make: *** [dlls/msvcrt/tests] Error 2
...on-after-statement -Wstrict-prototypes -Wunused-but-set-parameter -Wwrite-strings -Wpointer-arith -g -O2 -fno-builtin -o data.o data.c
/usr/ccs/bin/as: "<stdin>": error: symbol "_open" is used but not defined
/usr/ccs/bin/as: "<stdin>": error: symbol "_spawnlp" is used but not defined
/usr/ccs/bin/as: "<stdin>": error: symbol "_spawnle" is used but not defined
/usr/ccs/bin/as: "<stdin>": error: symbol "_spawnl" is used but not defined
/usr/ccs/bin/as: "<stdin>": error: symbol "...