my $output = `gnuplot $cmd 2>&1`; #### use IPC::Run qw( run ); my ($stdout, $stderr); run ["gnuplot", $cmd], undef, \$stdout, \$stderr; #### ------------ :Wq Not an editor command: Wq
## use IPC::Run qw( run ); my ($stdout, $stderr); run ["gnuplot", $cmd], undef, \$stdout, \$stderr; ##
## ------------ :Wq Not an editor command: Wq