in reply to Re: How to open a pipe from CMD if CMD has quotes?
in thread How to open a pipe from CMD if CMD has quotes?

I wonder if this behavior is specific to nmake? I will do some more debugging on this tonight and post what I find. Steve

-------------------------------
Need a good Perl friendly Host Provider?
http://www.dreamhost.com

  • Comment on Re^2: How to open a pipe from CMD if CMD has quotes?

Replies are listed 'Best First'.
Re^3: How to open a pipe from CMD if CMD has quotes?
by tuxz0r (Pilgrim) on Dec 05, 2007 at 01:12 UTC
    Without knowing what your error was in it's specific context, I can't really point you anywhere. However, passing of command line arguments is handled by the shell (except in DOS, where I think you have to parse them out yourself), so if you are using a unix shell, your quoting of the command line is correct if you indeed intended 2 arguments. Let us know what you find with further testing.

    ---
    s;;:<).>|\;\;_>?\\^0<|=!]=,|{\$/.'>|<?.|/"&?=#!>%\$|#/\$%{};;y;,'} -/:-@[-`{-};,'}`-{/" -;;s;;$_;see;
    Warning: Any code posted by tuxz0r is untested, unless otherwise stated, and is used at your own risk.

      The problem ended up being on my end. Someone had installed cygwin and placed it in the path. It was trying to call /usr/bin/rmdir instead of the windows rmdir so the builds were not getting cleaned... Sorry for the bother :)

      -------------------------------
      Need a good Perl friendly Host Provider?
      http://www.dreamhost.com