Task #11036 (closed)
Opened 11 years ago
Closed 11 years ago
Bug: CLI hql hangs when output is piped
Reported by: | jamoore | Owned by: | sbesson |
---|---|---|---|
Priority: | minor | Milestone: | 5.0.0-beta1 |
Component: | Client | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
[omerouser@adhoc-test-02 OMERO-CURRENT]$ bin/omero hql --admin "select i.fileset.id, 'F' from Image i where i.wellSamples is empty order by i.fileset.id desc" | grep F
hangs waiting on the "q" from the user. If stdout is not a terminal, then the script shouldn't wait.
Change History (1)
comment:1 Changed 11 years ago by sbesson
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
See https://github.com/openmicroscopy/openmicroscopy/pull/1244