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

Unified Diff: vpython/system_windows.go

Issue 2702873002: vpython: Add primary execution package. (Closed)
Patch Set: more windows signals Created 3 years, 9 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 | « vpython/system_posix.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/system_windows.go
diff --git a/vpython/system_windows.go b/vpython/system_windows.go
new file mode 100644
index 0000000000000000000000000000000000000000..f25b5781ed494068f62788af58bcb0aece10a99f
--- /dev/null
+++ b/vpython/system_windows.go
@@ -0,0 +1,18 @@
+// Copyright 2017 The LUCI Authors. All rights reserved.
+// Use of this source code is governed under the Apache License, Version 2.0
+// that can be found in the LICENSE file.
+
+package vpython
+
+import (
+ "os"
+ "syscall"
+)
+
+// forwardedSignals is the list of signals that should be forwarded to the
+// Python subproess.
+var forwardedSignals = []os.Signal{
+ syscall.SIGHUP,
+ syscall.SIGINT,
+ syscall.SIGQUIT,
+}
« no previous file with comments | « vpython/system_posix.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698