print "starting notepad, blocking, you must close it to continue$/"; system 'notepad.exe'; print "closed notepad, great$/starting notepad again, no blocking$/"; system qw[ cmd.exe /c start notepad ]; print "look, notepad still open, and I'm exiting$/";