my $cmd = 'C:/program files (x86)/vim/vim72/gvim.exe'; my $pid = system 1, "$cmd"; print "pid = $pid\n";