Re: [code] Re: [textadept] spawn(argv, ...

From: Mitchell <>
Date: Fri, 23 May 2014 11:37:12 -0400 (Eastern Daylight Time)


On Thu, 22 May 2014, Richard Philips wrote:

> Hello Mitchell,
>> Forgive me for asking, but why not add your properly quoted arguments to a
>> table and then pass the result of `table.concat()` to `spawn()`?
> [snip]
> Parsing arguments is particular difficult on Windows (
> as it is NOT cmd.exe which does the job but the parsing is dependent on the
> program itself!
> So, I hoped that you could immediately call the relevant C spawn functions
> :-)

Thanks for the link. This makes me even more firm on not accepting table
arguments because quoting arguments in one way may work for one program,
but not another.

> I solved the problem in another way (but I pay a - small - price for it, a
> price I hoped to evade :-)

It's unfortunate that such compromises need to be made for cross-platform
applications to function properly "out of the box".


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Fri 23 May 2014 - 11:37:12 EDT

This archive was generated by hypermail 2.2.0 : Sat 24 May 2014 - 06:47:39 EDT