Error due to calling start on an already started Proc::Async object
is Exception
When you call start
twice on the same Proc::Async object, the second invocation will die with an X::Proc::Async::AlreadyStarted
exception.
my = Proc::Async.new("echo");.start;.start;CATCH ;# OUTPUT: «X::Proc::Async::AlreadyStarted: Process has already been started»