argument에 ./가 계속 붙는 문제 수정
This commit is contained in:
@ -133,7 +133,7 @@ func prepareProcessLaunch(req *shared.StartProcessRequest) *procmeta {
|
|||||||
fi, err := os.Stat(verpath)
|
fi, err := os.Stat(verpath)
|
||||||
|
|
||||||
if err == nil && fi.IsDir() {
|
if err == nil && fi.IsDir() {
|
||||||
cmd := exec.Command("./"+args[0], args[1:]...)
|
cmd := exec.Command(args[0], args[1:]...)
|
||||||
cmd.Dir = verpath
|
cmd.Dir = verpath
|
||||||
stdin, _ := cmd.StdinPipe()
|
stdin, _ := cmd.StdinPipe()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user