mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-27 17:50:53 +01:00
feat: added modules
This commit is contained in:
10
core/sys_exec/sys_exec_windows.go
Normal file
10
core/sys_exec/sys_exec_windows.go
Normal file
@@ -0,0 +1,10 @@
|
||||
//go:build windows
|
||||
// +build windows
|
||||
|
||||
package sys_exec
|
||||
|
||||
import "os/exec"
|
||||
|
||||
func BuildCmd(cmdStr string) *exec.Cmd {
|
||||
return exec.Command("cmd", "/C", cmdStr)
|
||||
}
|
||||
Reference in New Issue
Block a user