kmorgan2 / ResTool-NXT

Computer Repair and Troubleshooting utility for ResTech, a department of NIU Housing and Dining
1 stars 1 forks source link

Convert all output-dependent Command Line operations to StdOutRead #15

Closed kmorgan2 closed 9 years ago

kmorgan2 commented 9 years ago

Previously run console windows can be piped back to AutoIt by using the StdOutRead function: documentation at: https://www.autoitscript.com/autoit3/docs/functions/StdoutRead.html

In fact $output = StdoutRead(Run("program")) is a valid syntax.

kmorgan2 commented 9 years ago

SFC function is now compliant

kmorgan2 commented 9 years ago

Chkdsk is only program that uses output redirection, and it must do so because piping output using $stdout_child causes it to fail to execute. 0.1.141125.0 will have the refactored chkdsk.