From 7369a0e7f2c2cec050be43456dcb7f6f4dc81834 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Thu, 4 Apr 2019 15:05:14 +0200 Subject: all: add support for Windows --- util_windows.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 util_windows.go (limited to 'util_windows.go') 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. +} -- cgit v1.2.3