summaryrefslogtreecommitdiffstats
path: root/modules/process/manager_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/process/manager_windows.go')
-rw-r--r--modules/process/manager_windows.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/process/manager_windows.go b/modules/process/manager_windows.go
new file mode 100644
index 0000000..44a84f2
--- /dev/null
+++ b/modules/process/manager_windows.go
@@ -0,0 +1,15 @@
+// Copyright 2022 The Gitea Authors. All rights reserved.
+// SPDX-License-Identifier: MIT
+
+//go:build windows
+
+package process
+
+import (
+ "os/exec"
+)
+
+// SetSysProcAttribute sets the common SysProcAttrs for commands
+func SetSysProcAttribute(cmd *exec.Cmd) {
+ // Do nothing
+}