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-20 Thread bruce
... -Original 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 real

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 pa

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

2009-03-20 Thread haliphax
On Fri, Mar 20, 2009 at 1:47 AM, 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\

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

2009-03-19 Thread Kyohere Luke
r 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: Shaw

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

2009-03-19 Thread Frank Stanovcak
"Kyohere Luke" 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 wrote: > >> >> >> On Thu, Mar 19, 2009 at 12:48 PM

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

2009-03-19 Thread Shawn McKenzie
gt; if you're going to deal with file/pathnames in windows/linux.. you're going >> to have to encapsulate them with "" or with '' ie double/single quotes... >> >> >> >> -Original Message- >> From: Kyohere Luke [mailto:l...

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

2009-03-19 Thread Kyohere Luke
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 > &g

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

2009-03-19 Thread Kyohere Luke
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 > &g

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

2009-03-19 Thread bruce
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, 2009 at 8:06 PM, Bastien Koert wrote: > > > On Thu, Mar 19

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 wrote: > > > On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote: > >> Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has >> spaces in it

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

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 wrote: > > > On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote: > >> Thanks, but I tried this. Doesn't work because the path\to\gammu.exe has >> spaces in it

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 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 > pr

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 mistak

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 mistak