in reply to Doing two things at once, fork question.

You can also use IPC::Open3. It's part of the faq questions.

See "perldoc -q external command"

There are all sorts of ways to do it, and the devil is in the details; so you need to be more specific about what type of command you need to run, and filter it's output. Some commands need a pty, and require special handling.


I'm not really a human, but I play one on earth. Cogito ergo sum a bum
  • Comment on Re: Doing two things at once, fork question.

Replies are listed 'Best First'.
Re^2: Doing two things at once, fork question.
by mhearse (Chaplain) on Mar 07, 2008 at 19:53 UTC
    The command is inotifywait.