in reply to Re^2: How to know the status of a command invoked by open function?
in thread How to know the status of a command invoked by open function?

I know what the meaning of $?. but for my case. I used open to run an external program
  • Comment on Re^3: How to know the status of a command invoked by open function?

Replies are listed 'Best First'.
Re^4: How to know the status of a command invoked by open function?
by ikegami (Patriarch) on Aug 16, 2011 at 00:54 UTC

    Yes, but the Anonymous Monk to which I replied didn't.

    He's right that close PS; should be close PS or die $!;, but it won't change the result.

    Note that by "system command", he meant "system calls", not the system builtin.