Wednesday, 15 February 2012

running several commands using php's shell_exec -



running several commands using php's shell_exec -

i've tried while every way perchance known me, , have yet crack thing, it's trivial couldn't find answer.

i want run several commands @ 1 time using php shell_exec, illustration shell_exec("cd ..; dir") unable find how execute few commands, seperator? ;, /n? nil seems work.

please note running windows.

http://superuser.com/a/62854

&& execute command 2 when command 1 finish providing didn't fail, & execute regardless.

php command-line-interface

No comments:

Post a Comment