[jamming] Command built-in questions (was Re: Executing shell command, save results to variable)

Sanel Zukan sanelz at gmail.com
Wed Mar 21 04:38:56 PST 2007


> ok, I've tested it yesterday night on my build. It seems that "popen" is
> an issue in Win32 with at least Watcom C++ and Digital Mars C++ which don't
> I think we're going to need a proper Win32 implementation in the sources.

AFAIK, it is been problem on Win32 for an ages, and no one provided an good
alternative for unix implementation. I didn't used it on Win32 side and
not sure what are pros/cons of current implementation, but after quick
search I found some alternative on qt list:
http://lists.trolltech.com/qt-interest/1999-09/thread00282-0.html

I am not able to decipher german comments, but hoping this can be good
starting point.

> - is there some serious use to the "mixed" and "lines" cases ? we really don't want
>   to turn Jamfiles into parsing programs, don't we.

For "lines" (thought): for example we know that program outputs our
interested data on second or third line (gcc -v for example). But this
is probably better to be handled via external script, keeping jam source
simple.

> - which default behaviour would you prefer ? (I'm for "words", but YMMV)

I am for "words" too (and only "words" :)).

--
Sanel


More information about the jamming mailing list