in reply to Re^4: Capture::Tiny alternative
in thread Capture::Tiny alternative
Hello again melezhik ,
Try your command like this:
my $cmd = `/usr/sbin/sshuttle -v -D -r vagrant@127.0.0.1 192.168.0.0/ +24`;
Instead of this:
my $cmd = '/usr/sbin/sshuttle -v -D -r vagrant@127.0.0.1 192.168.0.0/ +24';
Read more about it here (How to run a shell script from a Perl program?).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Capture::Tiny alternative
by haukex (Archbishop) on Mar 24, 2017 at 15:19 UTC | |
by melezhik (Monk) on Mar 24, 2017 at 15:29 UTC | |
|
Re^6: Capture::Tiny alternative
by melezhik (Monk) on Mar 24, 2017 at 15:33 UTC | |
|
Re^6: Capture::Tiny alternative
by melezhik (Monk) on Mar 24, 2017 at 15:21 UTC |