This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
GroophyLifefor edited this page Jul 2, 2022
·
1 revision
Welcome to the CmdFunc_NT wiki!
Starting with importing libraries
using Groophy;
A quick example of usage
CmdFunc cmd = new CmdFunc("C:\\", Structes.ShellType.ChairmanandManagingDirector_CMD, false);
var _out = cmd.Input("echo hi");
CmdFunc(
"C:\\" -> Working directory
Structes.ShellType.ChairmanandManagingDirector_CMD -> Type of Instance [Cmd, PowerShell]
false -> Debug mode (false is recommended)
)
_out(
IsError -> Error value [True, false]
ProcID -> Process ID of Instance [int]
Std_Input -> Your input
Std_Out -> Output of your execute [StringBuilder] (Use 'ToString()' for get string)
Stopwatch -> Time of your execute [Stopwatch]
)
/-i---|-ID--|-Err-|-MS--|-Stdio--------------|-vp--|-vname----|-stdout-----------------------\
|0 |2584 |False|0,114|echo hi |False| |hi, |
\-----|-----|-----|-----|--------------------|-----|----------|------------------------------/