Re: gspawn-win32-helper
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], "Bill Nalen" <bill.nalen@t...> wrote: > Alex wrote: > >There is a problem with launching programs in win32 with > g_spawn_command_line_async(). I have no >trouble running something like > "'c:\\windows\\sol.exe'", but if the path contains spaces, like, > >"'c:\\program files\\internet explorer\\iexplore.exe'", it says "Failed > to execute child process: no >such file or directory". > >The single quotes I enclosed the paths in come from glib documentation, > and the error persists if I >remove them. > >Note, gspawn-win32-helper.exe is in my path. > > I had the same problem a while back. If you look through the code you > will find that the command line is being parsed. You can change it to > c:/progra~1/intern~1/iexplore.exe and it will work > > Bill I think this is only a temporary solution and translating pathnames from windows to posix and from windows to dos 8.3 each time is not an option. I guess this is a bug... Anyways, thanks for your help.