Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. antred

    exec() and redirecting STDOUT/STDERR

    Yeah, but that's using the shell, and I'd like to avoid doing that because I wanna be as platform-independent as possible. Thanks anyways. :)
  2. antred

    exec() and redirecting STDOUT/STDERR

    Sorry, I just discovered several bugs in my code that I have corrected since. Say if you want me to repost my latest version. I'm new here and I haven't figured out how to edit posts yet.
  3. antred

    exec() and redirecting STDOUT/STDERR

    #*********************************************************************************************************************************** # Function : captureTimeAndOutputAndExitValueOfCommand # Args : $strCommandLine [in] - String containing the full command to be executed. #...
  4. antred

    exec() and redirecting STDOUT/STDERR

    Hi all, I'm trying to write a function that runs a command line (like say .... ls -l) and captures: * its STDOUT and STDERR output * its exit status * the time it took to execute The last two objectives are fairly easy but I'm having trouble with the first one. I know that running a command...

Part and Inventory Search

Back
Top