Re: [code] [textadept] spawn: working directory

From: Mitchell <>
Date: Wed, 7 May 2014 23:58:47 -0400 (EDT)


On Wed, 7 May 2014, Richard Philips wrote:

> Hi Mitchell,
> just to be sure:
> spawn(argv, working_dir)
> *does not change* the working_dir in the new thread but only launches the
> new process in working_dir?
> (changing the working_dir in a thread, changes the working_dir for the
> process)

That is a good question. Textadept calls 'CreateProcessW()' on Windows and
'g_spawn_async_with_pipes()` on Linux and Mac OSX. I don't see anywhere in
their respective documentation that they change the parent's working


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Wed 07 May 2014 - 23:58:47 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 May 2014 - 06:26:27 EDT