(arg string)
| 156 | } |
| 157 | |
| 158 | func popenArgs(arg string) (string, []string) { |
| 159 | cmd := "/bin/sh" |
| 160 | args := []string{"-c"} |
| 161 | if LuaOS == "windows" { |
| 162 | cmd = "C:\\Windows\\system32\\cmd.exe" |
| 163 | args = []string{"/c"} |
| 164 | } |
| 165 | args = append(args, arg) |
| 166 | return cmd, args |
| 167 | } |
| 168 | |
| 169 | func isGoroutineSafe(lv LValue) bool { |
| 170 | switch v := lv.(type) { |
no outgoing calls
no test coverage detected
searching dependent graphs…