marc export should only print "Waiting for Input" when running interactively

Bug #1539088 reported by Jason Stephenson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Low
Unassigned
2.8
Fix Released
Low
Unassigned
2.9
Fix Released
Low
Unassigned

Bug Description

Evergreen version 2.7+

The new marc_export prints "waiting for input" even when running non-interactively. That can be distracting when run from a cron job. You'll get an email with that line in it every day.

A forthcoming branch will only print Waiting for input if marc_export is running interactively, i.e. in a shell, and is really waiting for user input.

Revision history for this message
Jason Stephenson (jstephenson) wrote :
tags: added: pullrequest
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Force-pushed to amend the commit message.

Revision history for this message
Ben Shum (bshum) wrote :

Tested and works for me, thanks for the test plan in the commit message.

I decided to count this as a bug fix since it probably shouldn't print that message if there's input happening. Backported it to rel_2_9 and rel_2_8 with some minor spelling fixes in the commit message.

Changed in evergreen:
importance: Wishlist → Low
status: New → Fix Committed
milestone: 2.next → 2.10-beta
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.