#! /usr/bin/perl -w use strict; use warnings; foreach (1..5) { system (qq(start wperl.exe -e "sleep($_);print 'Done!'")); } print "Launching application has finished\n";