Re: PHP and exec() on MS Windows

From: Date: Fri, 13 Oct 2000 10:30:22 +0000
Subject: Re: PHP and exec() on MS Windows
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-19979@lists.php.net to get a copy of this message
Daniel, Thanks for the reply. I've tried your suggestions to no avail. The result is always that wscript starts, then hangs and times out. Bob Lutz Daniel Convissor wrote: > Hey Bob: > > > I am executing a server side VBscript from a PHP script by using > > exec("path/script_name") and execution hangs. > > Couple thoughts to try: > > exec("c:\\FullPathInfo...\\wscript.exe c:\\bat\\scriptname.vbs"); > exec("c:\\FullPathInfo...\\scriptname.vbs"); > > If that doesn't fly, try system() instead, since it displays stuff as it goes > along. If that too is a dud, next step would be making a small test script, > like a hello world and seeing if that works. > > Good luck, > > --Dan > > -- > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > More than just answers. Solutions. (SM) > http://www.analysisandsolutions.com/ > 4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#19979) next »