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

Bug #1539088 reported by Jason Stephenson on 2016-01-28
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Low
Unassigned
2.8
Low
Unassigned
2.9
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.

Jason Stephenson (jstephenson) wrote :
tags: added: pullrequest
Jason Stephenson (jstephenson) wrote :

Force-pushed to amend the commit 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  Edit
Everyone can see this information.

Other bug subscribers