Re: Execute EXE with variables

From: Date: Wed, 18 Feb 2009 18:25:53 +0000
Subject: Re: Execute EXE with variables
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-288552@lists.php.net to get a copy of this message
2009/2/13 Dan Shirah <mrsquash2@gmail.com>: >> >> Use the system() command, and enclose both your command and its >> parameters in a pair of single quotes, as: >> >> system('mycmd -a alfa -b bravo'); >> >> Paul >> -- >> Paul M. Foster >> > > Using both exec() and system() I am getting the error: Unable to fork > This sounds to me like it is an restriction on the server that doesn't allow php to fork so it could start another process. Maybe you should ask your hoster if you are not allowed to do this. -- Currently developing a browsergame... http://www.p-game.de Trade - Expand - Fight Follow me at twitter! http://twitter.com/moortier

« previous php.general (#288552) next »