Run Program() enables you to control a program that uses standard input and standard output. Line-mode programs read commands from stdin and write answers to stdout. cmd.exe, the Windows command prompt, is one example. You can also use it to launch GUI programs, such as Windows Notepad.
Executable( "cmd.exe" ),
图 8.3 Log Output
You can also print the task list directly without using cmd.exe and then import the task list into a data table.
blob = Run Program(
Executable( "tasklist.exe" ),
Read Function( "blob" )
Open(
Omitted Column( . )
Labels( 1 ),
Column Names Start( 2 ),
Data Starts( 4 )