Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Unified Diff: server/autoserv

Issue 6368022: Ignore SIGTTOU. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: clearer comment Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/autoserv
diff --git a/server/autoserv b/server/autoserv
index b3e900b3396724771a357c76f6c6f27a0668f932..1cec992415a22168d1116ee3ed65b005781e34fc 100755
--- a/server/autoserv
+++ b/server/autoserv
@@ -53,6 +53,9 @@ def run_autoserv(pid_file_manager, results, parser):
# Set signal handler
signal.signal(signal.SIGTERM, handle_sigterm)
+ # Ignore SIGTTOU's generated by output from forked children.
+ signal.signal(signal.SIGTTOU, signal.SIG_IGN)
+
# Server side tests that call shell scripts often depend on $USER being set
# but depending on how you launch your autotest scheduler it may not be set.
os.environ['USER'] = getpass.getuser()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698