Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Is it possible to detect "no file" error in open2 ?

by bdimych (Monk)
on Dec 08, 2007 at 02:36 UTC ( [id://655795]=note: print w/replies, xml ) Need Help??


in reply to Is it possible to detect "no file" error in open2 ?

  • still not solved with open2/open3
  • IPC::Run and IPC::Run3 seems better. Useful comparision
  • ikegami, Anonymous Monk, couldn't you provide examples

    ---
    All my old tests work well with the following code, so I've fixed on it

    use IPC::Run3; ... eval {run3 [ 'cmd', 'without subshell', 'and with any complex params 1<>2()[]{*}' ], 'and/now/I/can', 'redirect/child/streams', 'from/to/my/files' }; retcode_full_test_copypasted_from_perldoc_f_system; if ($@) { die("run3 failed but retcode_full_test passed: $@") } ...
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://655795]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others admiring the Monastery: (8)
    As of 2024-03-28 15:06 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found