Re: Using Exec Function

From: Date: Fri, 17 Jun 2005 12:50:45 +0000
Subject: Re: Using Exec Function
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-217128@lists.php.net to get a copy of this message
I did as You suggested: <?php $win_cmd = "\"C:\\Hello.exe\""; exec($win_cmd, $stdout, $stderr); print "Standard output:\n"; print_r($stdout); print "Standard error:\n"; print_r($stderr); ?> but Hello.Exe, a very simple program, doesn't run and my browser seems waiting something from the server. Can I run a program (exe file) in another way ? Thank in advance for your help. Davide

« previous php.general (#217128) next »