Is there any mechanism where for some execution of long running scripts can 
redirect their stdouts/stderror to the system issuing the command ?

e.g STAF HOST1 PROCESS START SHELL "SomeLongScript.sh" WAIT RETURNSTDOUT 
RETURNSTDERR - showing the the output "as is it" comes to terminal ?

just like you execute via SSH using command
e.g ssh user@HOST1 SomeLongScript.sh


I observe that in case of staf the remote buffer are obtained only when 
command exits. but end user cannot gauge if things are happening fine via 
script.

I can see one way of modifying "SomeLongScript.sh" to generate message in form 
of queue to calling machine. But that cannot be feasible all the times.

can some solution like REDIRECT be a solution.
Also if there is any solution already existing, please share as I see lots of 
forum seeking for help.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to