in reply to unable to launch GfxUI.exe using Proc::Background
#!/usr/bin/perl use strict; use warnings; use Proc::Background; use vars qw(@ISA); @ISA = qw(Proc::Background); use Data::Dumper::Concise; my $loc = '/bin/ps'; my $proc1 = Proc::Background->new($loc); $proc1->wait; my $time1 = $proc1->start_time; my $time2 = $proc1->end_time; print "Status: \n", "end_time: ", Dumper($time2);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: unable to launch GfxUI.exe using Proc::Background
by priyaviswam (Sexton) on May 15, 2012 at 11:11 UTC |