2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-11 16:13:22 +00:00

chore: add todo comment for exec function

This commit is contained in:
sammyette 2021-05-16 16:17:55 -04:00
parent e29ba6a0d5
commit 88e117974e
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5

3
lua.go
View File

@ -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?
}