my $rc = `ulimit -t 5; /usr/bin/somecommand param1 param2`;