- or download this
system('cmd foo bar &')
- or download this
system('/bin/sh', '-c', 'cmd foo bar &')
- or download this
system('/bin/sh', '-c', '"$@" &', 'dummy', $prog, @args);
- or download this
use String::ShellQuote qw( shell_quote );
system(shell_quote($prog, @args) . ' &'));