Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit04f3bcb

Browse files
committed
handle window paths
1 parentb0445eb commit04f3bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎agent/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ func (a *agent) updateCommandEnv(current []string) (updated []string, err error)
968968
if_,ok:=envs["PATH"];!ok {
969969
envs["PATH"]=os.Getenv("PATH")
970970
}
971-
envs["PATH"]=a.scriptRunner.ScriptBinDir()+":"+envs["PATH"]
971+
envs["PATH"]=fmt.Sprintf("%s%c%s",a.scriptRunner.ScriptBinDir(),filepath.ListSeparator,envs["PATH"])
972972

973973
fork,v:=rangeenvs {
974974
updated=append(updated,fmt.Sprintf("%s=%s",k,v))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp