Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Ssh and qx

by afoken (Canon)
on Mar 31, 2017 at 17:21 UTC ( #1186630=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub inefficient_qx
    {
    ...
            return $tmp;
        }
    }
    
  2. or download this
    > perl -E 'open my $pipe,"-|","pstree --ascii --arguments --long $$ 1>
    +&2" or die $!;'
    perl -E open my $pipe,"-|","pstree --ascii --arguments --long $$ 1>&2"
    + or die $!;
      `-sh -c pstree --ascii --arguments --long 22176 1>&2
          `-pstree --ascii --arguments --long 22176
    >
    
  3. or download this
    > perl -E 'open my $pipe,"-|","pstree --ascii --arguments --long $$ 1>
    +&2","dummy" or die $!;'
    No such file or directory at -e line 1.
    >
    
  4. or download this
    > perl -E 'system("pstree --ascii --arguments --long $$ 1>&2")==0 or d
    +ie $!'
    perl -E system("pstree --ascii --arguments --long $$ 1>&2")==0 or die 
    +$!
    ...
    No such file or directory at -e line 1.
    
    >
    
  5. or download this
    > perl -E '@list=("pstree --ascii --arguments --long $$ 1>&2"); system
    + { $list[0] } @list and die $!'
    No such file or directory at -e line 1.
    ...
    No such file or directory at -e line 1.
    
    >
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2022-07-01 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (99 votes). Check out past polls.

    Notices?