D.Cook
Member
Is it possible to output to the terminal in batch mode on UNIX/Linux?
The obvious thing to try was this:
Result: ** There is no terminal. (120)
In Linux the error is given, but on Windows it happily greets the world.
Also tried the following:
Result: ** Unable to open file: /dev/stdout. Errno=13. (98)
The reason I want to do this is to start a program from the command-line and have it output some text, without displaying the character client. If there's a better way please let me know!
The obvious thing to try was this:
Code:
output to terminal.
message "Hello World".
In Linux the error is given, but on Windows it happily greets the world.
Also tried the following:
Code:
if opsys eq "UNIX" then
output to /dev/stdout.
message "Hello World".
The reason I want to do this is to start a program from the command-line and have it output some text, without displaying the character client. If there's a better way please let me know!