Re: [PHP] calling php script from C - pclose problem

2006-04-05 Thread Ysidro
Jochem Maas wrote: Ysidro wrote: Hello, Calling a php script from legacy c code using popen(), works great. Problem: when php script is done, pclose() in c code fails with ECHILD, No child process, wait4() failed. This is because the php script does not hang around to be wait'ed for; any

[PHP] calling php script from C - pclose problem

2006-04-04 Thread Ysidro
Hello, Calling a php script from legacy c code using popen(), works great. Problem: when php script is done, pclose() in c code fails with ECHILD, No child process, wait4() failed. This is because the php script does not hang around to be wait'ed for; any idea how to make a command line php