윈도우에서 동작 안하는 문제 수정
This commit is contained in:
@ -159,13 +159,17 @@ func (hc *houstonClient) makeOperationQueryRequest() *protos.OperationQueryReque
|
||||
var selfname string
|
||||
var selfargs []string
|
||||
if hc.standalone {
|
||||
selfname = path.Base(os.Args[0])
|
||||
selfname = path.Base(filepath.ToSlash(os.Args[0]))
|
||||
selfargs = os.Args[1:]
|
||||
} else {
|
||||
selfname = "houston"
|
||||
selfargs = []string{}
|
||||
}
|
||||
|
||||
if len(path.Ext(selfname)) > 0 {
|
||||
selfname = selfname[:len(selfname)-len(path.Ext(selfname))]
|
||||
}
|
||||
|
||||
procs = append(procs, &protos.ProcessDescription{
|
||||
Name: selfname,
|
||||
Args: selfargs,
|
||||
|
||||
Reference in New Issue
Block a user