my @args = ("start",$file,$file); #### for (@args) { # Apply smart-ish double quotes if (/ /) { $_ = qq{"$_"}; } }; #### $_ = '"' . $_ . '"'; # or $_ = "\"$_\""; #### system(@args) == 0 or warn "Couldn't launch '$file' : $!/$?/$^E";