Bodo,
When starting a process on Windows using STAF, the default is to get the
process a new console window (e.g. via the NEWCONSOLE option, and is the
default if the SAMECONSOLE option is not specified). So, yes, when
starting a process on Windows using STAF, and you don't specify the
STDOUT/ERR nor RETURNSTDOUT/ERR option(s), the process's output is sent to
a new console (which disappears when the process completes) instead of to
STAFProc's output by default (e.g. when you don't specify the SAMECONSOLE
option).
However, when starting a process on Unix using STAF, the default is to
have the process share the STAFProc console and specifying the NEWCONSOLE
option has no effect. So, no, on Unix, there is not an option to switch
this output off if you don't specify the STDOUT/ERR nor RETURNSTDOUT/ERR
options(s). However, note that if you start STAFProc using nohup, e.g.
(nohup STAFProc &) which redirects STAFProc's output to nohup.out or if
you start STAFProc and redirect it's output (e.g. STAFProc & >
/tmp/stafproc.out), the stdout/stderr from processes will be written to
the redirected file (not the console).
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
Strösser, Bodo <bodo.stroes...@ts.fujitsu.com>
07/16/2009 11:43 AM
To
"'staf-users@lists.sourceforge.net'" <staf-users@lists.sourceforge.net>
cc
Subject
[staf-users] Logging to STAFProc's stdout
Hi,
when a process produces some output on stdout or stderr, but the process
does not write
to file (<stdout/err>filename<stdout/err>) nor uses <returnstdout/err>,
the output is sent
to STAFProc's stdout.
Is there an option to switch this output off?
Best Regards
Bodo
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full
prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users