mirror of https://github.com/Hilbis/Hilbish
chore: add todo comment for exec function
parent
e29ba6a0d5
commit
88e117974e
3
lua.go
3
lua.go
|
@ -146,6 +146,7 @@ func hshexec(L *lua.LState) int {
|
|||
|
||||
// syscall.Exec requires an absolute path to a binary
|
||||
// path, args, string slice of environments
|
||||
// TODO: alternative for windows
|
||||
syscall.Exec(cmdPath, cmdArgs, os.Environ())
|
||||
return 0
|
||||
return 0 // random thought: does this ever return?
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue