On *nix try perldoc -q time to see more ideas.use strict; use warnings; my $launch_time = time(); # Do something with $launch_time # execute external my $result = qx!/some/program -flags!; # Check for success # or #exec and exit { exec ('/some/program') }; print STDERR "couldn't exec program: $!"; # if exec fails, this script continues $launch_time = 'LAUNCH_FAILED';
In reply to Re: Get Process Start Time
by hsinclai
in thread Get Process Start Time
by Saved
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |