Index: sdk/lib/io/process.dart |
diff --git a/sdk/lib/io/process.dart b/sdk/lib/io/process.dart |
index 75bd89334c5ef8982bc7ef55bbccc33f09277bc4..0cf7126ac4b229b46ad36828459b15df4f689146 100644 |
--- a/sdk/lib/io/process.dart |
+++ b/sdk/lib/io/process.dart |
@@ -346,6 +346,20 @@ class ProcessSignal { |
String toString() => _name; |
+ /** |
+ * Watch for process signals. |
+ * |
+ * The following [ProcessSignal]s can be listened to: |
+ * |
+ * * [ProcessSignal.SIGHUP]. |
+ * * [ProcessSignal.SIGINT]. |
+ * * [ProcessSignal.SIGTERM]. Not available on Windows. |
+ * * [ProcessSignal.SIGUSR1]. Not available on Windows. |
+ * * [ProcessSignal.SIGUSR2]. Not available on Windows. |
+ * * [ProcessSignal.SIGWINCH]. Not available on Windows. |
+ * |
+ * Other signals are disallowed, as they may be used by the VM. |
+ */ |
Stream<ProcessSignal> watch() => _ProcessUtils._watchSignal(this); |
} |