in reply to Run Shell script followed by ctrl-c within perl
Try this
perl -le'$SIG{INT}='ignore'; system "./loop.sh"; print "command return +ed"; sleep 5; print "exiting"' [download]
Loop.sh
#!/bin/sh while true do time; sleep 1; done [download]