![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re^2: Calling Windows "time /t" commandby BrowserUk (Patriarch) |
on Jul 27, 2006 at 16:52 UTC ( #564163=note: print w/replies, xml ) | Need Help?? |
As backticks spawn a new shell each time, the simplest solution would be to set the path to empty prior to invoking the (builtin) time command:
The change to the environment will only last for the duration of the spawned shell, so the will be no knock on effect for subsequent spawned shells. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|