> The workaround is ... system(..., "$$", ...) Thanks. 0+$$ works too. But the problem is a "hidden gotcha" -- the behavior is not what a reasonable programmer would expect. It would be better to get rid of the non-obvious behavior if it's not necessary.Thread Previous | Thread Next