1
0
mirror of https://github.com/b4tman/armhf-alpine-qemu.git synced 2024-12-04 17:16:53 +00:00
This commit is contained in:
Dmitry Belyaev 2021-10-11 00:24:51 +03:00 committed by Dmitry Belyaev
parent 1dc895f5ef
commit bedae4587d

View File

@ -31,7 +31,7 @@ func crossBuildEnd() {
} }
func runShell() error { func runShell() error {
cmd := exec.Command("/usr/bin/qemu-arm-static", append([]string{"-execve", "-0", os.Args[0], "/bin/sh", "/bin/sh"}, os.Args[1:]...)...) cmd := exec.Command("/usr/bin/qemu-arm-static", append([]string{"-execve", "-0", os.Args[0], "/bin/sh"}, os.Args[1:]...)...)
cmd.Stdin = os.Stdin cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr