2022-06-03 16:36:18 +02:00
|
|
|
// Copyright 2022 The Gitea Authors. All rights reserved.
|
2022-11-27 19:20:29 +01:00
|
|
|
// SPDX-License-Identifier: MIT
|
2022-06-03 16:36:18 +02:00
|
|
|
|
|
|
|
//go:build windows
|
|
|
|
|
|
|
|
package process
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os/exec"
|
|
|
|
)
|
|
|
|
|
|
|
|
// SetSysProcAttribute sets the common SysProcAttrs for commands
|
|
|
|
func SetSysProcAttribute(cmd *exec.Cmd) {
|
|
|
|
// Do nothing
|
|
|
|
}
|