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

2009-03-20 Thread Kyohere Luke
: [PHP] Re: Problems with exec() on windows Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert phps...@gmail.com wrote: On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke l...@beyonic.com wrote

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

2009-03-20 Thread haliphax
On Fri, Mar 20, 2009 at 1:47 AM, Kyohere Luke pr0...@gmail.com wrote: You might have something there - never really thought about how windows forms the 8.3 names... not many resources online about it ... The actual path is c:\Program File\Gammu 1.23.91\bin\gammu.exe I'd used

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

2009-03-20 Thread George Larson
I've skimmed some of thread, but I have not been following closely so please disregard if I'm just rambling. However, I've worked with lots of software on DOS boxen that couldn't handle long file names. If they also choke on the tildes then I usually just write a batch file that calls the full

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

2009-03-20 Thread bruce
Message- From: l...@beyonic.com [mailto:l...@beyonic.com]on Behalf Of Kyohere Luke Sent: Thursday, March 19, 2009 11:48 PM To: Shawn McKenzie Cc: php-general@lists.php.net Subject: Re: [PHP] Re: Problems with exec() on windows You might have something there - never really thought about how windows

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

2009-03-20 Thread Shawn McKenzie
Kyohere Luke wrote: You might have something there - never really thought about how windows forms the 8.3 names... not many resources online about it ... The actual path is c:\Program File\Gammu 1.23.91\bin\gammu.exe I'd used c:\Progra~1\Gammu~1\bin\gammu.exe You take the first 6

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

2009-03-19 Thread Kyohere Luke
Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has spaces in it Haliphax, thanks for your comments. I tried escapeshellarg() to no end. I'm exploring your reply regarding proc_open, but how exactly does proc_open separate the arguments from the command? Unless i'm

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

2009-03-19 Thread Kyohere Luke
Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has spaces in it Haliphax, thanks for your comments. I tried escapeshellarg() to no end. I'm exploring your reply regarding proc_open, but how exactly does proc_open separate the arguments from the command? Unless i'm

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

2009-03-19 Thread Bastien Koert
On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke l...@beyonic.com wrote: Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has spaces in it Haliphax, thanks for your comments. I tried escapeshellarg() to no end. I'm exploring your reply regarding proc_open, but how

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

2009-03-19 Thread Kyohere Luke
Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert phps...@gmail.com wrote: On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke l...@beyonic.com wrote: Thanks, but I tried this. Doesn't work because the

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

2009-03-19 Thread Shawn McKenzie
Kyohere Luke wrote: Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has spaces in it Haliphax, thanks for your comments. I tried escapeshellarg() to no end. I'm exploring your reply regarding proc_open, but how exactly does proc_open separate the arguments from the

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

2009-03-19 Thread Kyohere Luke
Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert phps...@gmail.com wrote: On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke l...@beyonic.com wrote: Thanks, but I tried this. Doesn't work because the

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

2009-03-19 Thread bruce
McKenzie; php-general@lists.php.net Subject: Re: [PHP] Re: Problems with exec() on windows Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert phps...@gmail.com wrote: On Thu, Mar 19, 2009 at 12:48 PM, Kyohere

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

2009-03-19 Thread Kyohere Luke
[mailto:l...@beyonic.com] Sent: Thursday, March 19, 2009 10:18 AM To: Bastien Koert Cc: Shawn McKenzie; php-general@lists.php.net Subject: Re: [PHP] Re: Problems with exec() on windows Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19

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

2009-03-19 Thread Kyohere Luke
[mailto:l...@beyonic.com] Sent: Thursday, March 19, 2009 10:18 AM To: Bastien Koert Cc: Shawn McKenzie; php-general@lists.php.net Subject: Re: [PHP] Re: Problems with exec() on windows Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19

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

2009-03-19 Thread Shawn McKenzie
them with or with '' ie double/single quotes... -Original Message- From: Kyohere Luke [mailto:l...@beyonic.com] Sent: Thursday, March 19, 2009 10:18 AM To: Bastien Koert Cc: Shawn McKenzie; php-general@lists.php.net Subject: Re: [PHP] Re: Problems with exec() on windows Eventually

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

2009-03-19 Thread Frank Stanovcak
Kyohere Luke l...@beyonic.com wrote in message news:9bc423c50903191018k3c783213l4929cf2878e98...@mail.gmail.com... Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert phps...@gmail.com wrote: On Thu, Mar