my $ssh = Net::OpenSSH->new(...); for my $cmd (@cmds) { $ssh->system('sx', 'su', '-l', $user, '-c', $cmd); }
In reply to Re: Net::Openssh spawn other process than shell
by salva
in thread Net::Openssh spawn other process than shell
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |