aboutsummaryrefslogtreecommitdiffhomepage
path: root/util_windows.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2019-04-04 15:05:14 +0200
committerRon Evans <[email protected]>2019-10-17 00:14:59 +0200
commit7369a0e7f2c2cec050be43456dcb7f6f4dc81834 (patch)
tree6aeec271aa16f7fe1b7b5cbe4a22eb92e4c4f099 /util_windows.go
parent8906192690d71392c46ad56cffb7d4ce6b6e5529 (diff)
downloadtinygo-7369a0e7f2c2cec050be43456dcb7f6f4dc81834.tar.gz
tinygo-7369a0e7f2c2cec050be43456dcb7f6f4dc81834.zip
all: add support for Windows
Diffstat (limited to 'util_windows.go')
-rw-r--r--util_windows.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/util_windows.go b/util_windows.go
new file mode 100644
index 000000000..848c7b1f5
--- /dev/null
+++ b/util_windows.go
@@ -0,0 +1,13 @@
+package main
+
+// This file contains utility functions for Windows.
+
+import (
+ "os/exec"
+)
+
+// setCommandAsDaemon makes sure this command does not receive signals sent to
+// the parent. It is unimplemented on Windows.
+func setCommandAsDaemon(daemon *exec.Cmd) {
+ // Not implemented.
+}