using-shellexecute.rex |
Pipelines v2.1 |
.....|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....10... |
**** Top of file ****
1
2 /* The following pipeline uses the SHELLexecute stage command to set the title of
3 the active window.
4
5 SHELLexecute can launch both system shell commands and third party processes; reading
6 input records from the process' STDOUT and STDERR output streams. */
7
8 Address Rxpipe
9
10 'pipe literal \cmd title This is an example of how to use the SHELLEXECUTE stage command\',
11 '| shell', /* Issue the shell command. */
12 '| lit \Look at this windows title!\', /* Define the output message. */
13 '| cons' /* Write it to the console. */
14
15 Say 'Hit Enter to close..'
16 Parse Pull
17
18 Exit 0
**** End of file ****
|