[pve-devel] perl pipe problems

Dietmar Maurer dietmar at proxmox.com
Mon Oct 29 08:12:57 CET 2012


> I tried to use option 'pipefail' but get:
> 
> # perl -e 'system("set -o pipefail;false | true");print $?>>8,"\n"'
> set: 1: Illegal option -o pipefail

Seems perl use /bin/sh (instead of /bin/bash), although I set $ENV{SHELL}="/bin/bash";

how can is set the default shell in perl? 




More information about the pve-devel mailing list