Feature Requests item #705906, was opened at 2003-03-18 16:14
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=359368&aid=705906&group_id=9368

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Enos (jenos)
Assigned to: Brian Luethke (luethkeb)
Summary: C3 needs option to suppress STDERR

Initial Comment:
It would be really helpful in parsing output from cexec if I 
could find a way to suppress the standard error from the 
shell spawn.  Take the following, for example.  I first ran 
a command, and had some shell spawn error on one 
node.  (ignore the error itself, as this is just an example).

I thought I could simply redirect error to /dev/null in the 
command, but because the error comes from the shell 
spawn, I have no control over it.  Note the second 
example.  So if cexec had a "-nostderr" switch or 
something, it would really be helpful.
thx

[EMAIL PROTECTED] gm]# cexec -p /bin/hostname
oscar_cluster node1.ncsa.uiuc.edu: 
node1.ncsa.uiuc.edu

oscar_cluster node2.ncsa.uiuc.edu: 
node2.ncsa.uiuc.edu

oscar_cluster node3.ncsa.uiuc.edu: switcher:mpi: 
Cannot find modulefile for mpich-1.2.4 -- skipping
oscar_cluster node3.ncsa.uiuc.edu: 
node3.ncsa.uiuc.edu

[EMAIL PROTECTED] gm]# 


[EMAIL PROTECTED] gm]# cexec -p "/bin/hostname 
2> /dev/null"
oscar_cluster node1.ncsa.uiuc.edu: 
node1.ncsa.uiuc.edu

oscar_cluster node2.ncsa.uiuc.edu: 
node2.ncsa.uiuc.edu

oscar_cluster node3.ncsa.uiuc.edu: switcher:mpi: 
Cannot find modulefile for mpich-1.2.4 -- skipping
oscar_cluster node3.ncsa.uiuc.edu: 
node3.ncsa.uiuc.edu

[EMAIL PROTECTED] gm]# 


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=359368&aid=705906&group_id=9368


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to