PS: 2 is STDERR and 1 is STDOUT. One could do a redirect of STDERR to STDOUT and STDOUT to a logfile. You won’t get a red box though when errors occur!
Van: galaxy-dev-bounces@lists.bx.psu.edu [mailto:galaxy-dev-bounces@lists.bx.psu.edu] Namens Bossers, Alex
Verzonden: donderdag 26 mei 2011 15:19
Aan: 'shashi shekhar'
CC: galaxy-dev@lists.bx.psu.edu
Onderwerp: Re: [galaxy-dev] stdout and stderr
Alternatively you can redirect your STDOUT and/or STDERR into a LOG txt file as additional output to the tool.
I do many times the same since it allows the realtime tracking in the log file of the process where it is and when it’s expected to be finished.
Indeed a wrapper can be used but if you just have a plain cmdline with options in your tool xml you can use 1>dev/null and 2>dev/null (or 2>&- and 1>&- in short). For the XML to keep it valid you need to encode the > and & into: 2>&-
Or port both into a logfile which you specify as output. 2>$logfile (2>$logfile)
Alex
Van: galaxy-dev-bounces@lists.bx.psu.edu [mailto:galaxy-dev-bounces@lists.bx.psu.edu] Namens shashi shekhar
Verzonden: donderdag 26 mei 2011 14:36
Aan: galaxy-dev@lists.bx.psu.edu
Onderwerp: [galaxy-dev] stdout and stderr
Hi all,
I am using one tool which gives stdout and stderr . it is showing red color (job failed) in browser.How can i resolve such type of problem.
Regards
shashi shekhar