Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: use Mojo::IOLoop::Subprocess - cannot pass argument to the subprocess

by haukex (Archbishop)
on Mar 29, 2023 at 10:15 UTC ( [id://11151319]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Mojo::Base -strict, -signatures;
    use Mojo::IOLoop;
    ...
        }
    });
    Mojo::IOLoop->start;
    
  2. or download this
    0s Loop PID is 8353
    0s Start of loop 0
    ...
    4s End of loop 1
    4s Subprocess error: Can't locate object method "Return value of 0" vi
    +a package "Mojo::IOLoop::Subprocess" at /opt/perl5.28/lib/site_perl/5
    +.28.1/Mojo/IOLoop/Subprocess.pm line 53.
    4s Subprocess error: Can't locate object method "Return value of 1" vi
    +a package "Mojo::IOLoop::Subprocess" at /opt/perl5.28/lib/site_perl/5
    +.28.1/Mojo/IOLoop/Subprocess.pm line 53.
    
  3. or download this
    0s Loop PID is 8462
    0s Start of loop 0
    ...
    2s Good bye, from PID 8464!
    2s Result from loop 0: Return value of 0
    2s Result from loop 1: Return value of 1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-18 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found