VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Process Class

David Robitaille  (1 Submission)   Miscellaneous   Advanced   Wed 3rd February 2021

Handle process (in background) and trap all console inputs and outputs.
Inclute a test GUI to show how it works.

Inputs
A command line. StdInput

Assumes
'Init the class with setProcess() 'start process with Run() 'Check the state of execution with Finished() 'Then check if you get an error with inError() 'and get strOutput (with getstrOutput(TRUE)) or/and strError when needed 'use StdInput(strInput As String) to write to the process 'close the process with clean 'Dont forget that you need to Check the state of execution with Finished() 'before getting anyting from strOutput, strError or intError

Returns
StdOutput StdError Dos error level.

Rate Process Class (2(2 Vote))

Download Process Class

Process Class Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters