if( $^O eq 'MSWin32' ) { system 1, 'path/to/script.pl'; } else { ## assume some flavour of *nix system '/path/to/script.pl &'; }