News

How about saving the commands to a shell script, and then running the shell script via exec ()? If you're going to be passing around arguments, also consider using escapeshellarg ().