I have two programs and I want to pass several parms from one programs to the other. I tried to use _execve(prog,args,my_env);. I get a -1 return code. Please help!!!
Printable View
I have two programs and I want to pass several parms from one programs to the other. I tried to use _execve(prog,args,my_env);. I get a -1 return code. Please help!!!
Maybe WinExec helps
Thanks,
Ilgar Mashayev
the docs say:
"A return value of –1 indicates an error, in which case the errno global variable is set."
so what does your errno say?