Task #12291 (new)
Opened 10 years ago
Last modified 10 years ago
RFE: allow user to redirect stderr/stdout in CLI — at Initial Version
Reported by: | sbesson | Owned by: | sbesson |
---|---|---|---|
Priority: | minor | Milestone: | 5.0.3 |
Component: | Client | Version: | 5.0.1 |
Keywords: | n.a. | Cc: | jamoore, cblackburn |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
See https://github.com/openmicroscopy/openmicroscopy/issues/2476 for a full description of the issue. As it stands, the output of bin/omero sessions login is always redirected to sys.stderr while a particular user may want to redirect this to /dev/null.
In general, we could add more flexibility to omero.cli.Context so that the output of self.out()/self.err() can be specified.