Hi Sairam,
STDOUT can be caputired in $rootObject->{fileList}[0]{data} of
$STAF::Result.
For my purpose I can write this into file separately but What I'm
looking for is to specify this in the command request itself ,so that
STDOUT <file> is created on the issuing system instead of remote system.
Thanks
Uma.
From: Sai Ram Purandhar-B22305 [mailto:[email protected]]
Sent: Friday, February 26, 2010 12:53 PM
To: Uma Maheswar Chilukuri; [email protected]
Subject: RE: [staf-users] PROCESS service output to file
Hi Mahesh,
Using STAX, you can surely do that. Whatever command you issue in STAX,
you get the output into a variable like STAFResult.
Thanks,
Sairam
________________________________
From: Uma Maheswar Chilukuri [mailto:[email protected]]
Sent: Friday, February 26, 2010 11:39 AM
To: [email protected]
Subject: [staf-users] PROCESS service output to file
Hi,
Is there a way to get the output of a shell request in a file on the
system where request has been issued instead of creating a file on
system where shell command is executed.
STAF <remotemachine> PROCESS START SHELL COMMAND "ls -l " STDOUT
<outputfile> returnstdout stderrtostdout wait
Above command creates "output file" on remote machine not on the system
where this request has been issued
Is there a way to do this instead of capturing stdout result from
marshaled buffer and writing that to file?
Thanks,
Uma
<<image001.gif>>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ staf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/staf-users
