littleIdiot
MIS
Hi,
I am running a C program in UNIX that outputs info to the screen. I can not edit the source code, but want the output to be available to other users other than me.
I have tried all of the following, all in csh (assuming "command" is the command run):
None of these let the program run, or so it seems. certainly get no results and the log files remian empty.
Any ideas of other methods to collect the output from a program that is normally sent to screen?
cheers,
lil'idiot
I am running a C program in UNIX that outputs info to the screen. I can not edit the source code, but want the output to be available to other users other than me.
I have tried all of the following, all in csh (assuming "command" is the command run):
Code:
command | tee -a file.log
Code:
command > file.log
Code:
( command > file.log ) > & file.err
Code:
script
command
None of these let the program run, or so it seems. certainly get no results and the log files remian empty.
Any ideas of other methods to collect the output from a program that is normally sent to screen?
cheers,
lil'idiot