[Geany] [patch]win32_spawn, GError, status code timeout
Enrico Tröger
enrico.troeger at xxxxx
Thu Feb 28 15:26:49 UTC 2008
On Thu, 28 Feb 2008 10:36:22 +0100, "Pierre Joye"
<pierre.php at gmail.com> wrote:
> On Thu, Feb 28, 2008 at 9:59 AM, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> > On Wed, 27 Feb 2008 20:41:45 +0100, "Pierre Joye"
> >
> > <pierre.php at gmail.com> wrote:
> >
> >
> > > Hi Enrico,
> > >
> > > On Wed, Feb 27, 2008 at 5:06 PM, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> > >
> > > > (the German message at the end means: the system could not find the
> > > > specified file)
> > > >
> > > > The created "cmdline" string looked good:
> > > > C:\WINNT\System32\cmd.exe /Q /C G:\geany_run_script.bat
> > >
> > > Any reason to call it using cmd.exe and not directly?
> > We need to execute the generated geany_run_script.bat, can we do this
> > without explicitly calling cmd.exe?
>
> It should work yes. CreateProcess will actually do it in a cmd.exe
> like environment, using either the given env (to be done for windows)
> or the inherited one. I will debug your problem later this week and
> add some docs :)
Well, if calling the batch file works without the additional cmd.exe it
would be even better. But is then still a console window opening? I
think the console window can be useful when the user want
to see stdout/stderr of the script/program he runs.
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20080228/d848b135/attachment.pgp>
More information about the Users
mailing list