I have a php program that calls an expect script. The problem I am having is that
my script takes an hour or so to complete. I do not know how to call it to run in
the background like we do when we execute a unix command an use I tried
commands such as system, exec and passthru, but all did not help.
If there is a way, Could you please help me.
Here is what i am doing now
foreach($build_commands as $cmd){
system("./$cmd"); //cmd: "diag.exp parm1 parm2 parm3 &"
}
~Wael.