Re: [PHP] Problems with exec() on windows

2009-04-12 Thread henrikolsen
I can confirm the presence of the same issue on my installation, 5.2.9-2 on Windows XP. Very annoying bug. -- This message was sent on behalf of henrikol...@gmail.com at openSubscriber.com http://www.opensubscriber.com/message/php-general@lists.php.net/11719414.html -- PHP General Mailing List

Re: [PHP] Problems with exec() on windows

2009-03-19 Thread haliphax
On Thu, Mar 19, 2009 at 9:25 AM, haliphax wrote: > On Thu, Mar 19, 2009 at 9:19 AM, Kyohere Luke wrote: >> Hi, >> I'm trying to use exec to call gammu.exe and send sms on windows XP. >> >> This works from commandline: >> >> C:\path\to\gammu.exe 1 --sendsms EMS 200 -text "test1 test2" >> >> But if

Re: [PHP] Problems with exec() on windows

2009-03-19 Thread haliphax
On Thu, Mar 19, 2009 at 9:19 AM, Kyohere Luke wrote: > Hi, > I'm trying to use exec to call gammu.exe and send sms on windows XP. > > This works from commandline: > > C:\path\to\gammu.exe 1 --sendsms EMS 200 -text "test1 test2" > > But if I run it through php like this: > > $command = "\"C:\path\t

[PHP] Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
Hi, I'm trying to use exec to call gammu.exe and send sms on windows XP. This works from commandline: C:\path\to\gammu.exe 1 --sendsms EMS 200 -text "test1 test2" But if I run it through php like this: $command = "\"C:\path\to\gammu.exe\" --sendsms EMS 200 -text \"test1 test2\"".; @exec($comman