Error getting tags :
error 404Error getting tags :
error 404 write to process | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
write to process
Basics
Expander triangle
Type
Command
Syntax

write value to process processName

Introduced
1.0
Changed
2.0
Environment
Desktop, Web and Server
Platform Support
Mac OS X,Windows,Linux
Security
Process
Summary
Sends input to a process that was opened with the open process command.
Examples

write field "Temp" to process "/bin/logall"
write nextTick to process it

Additional Comments
Expander triangle

Use the write to process command to send input to another program.

Parameters:

The value is any expression that evaluates to a string.

The processName is case-sensitive: uppercase and lowercase characters must be exactly as they were entered in the open process command. The process must have been opened previously with the open process command; otherwise, an error message is returned in the result.

Comments:

The process to write to must be opened first with the open process command, and the mode the process was opened in must be write or update. If the process is not running or is read-only, the result function is set to "Process is not open for write.".

If there is an error writing to the process, the result function returns the error message.

Changes to Revolution:

Support for using the write to process command on OS X systems was added in version 2.0.

User Comments
Expander triangle