Skip to content

Commit e86cc0b

Browse files
isaacabrahammathewc
authored andcommitted
Allow running fsx scripts when there are spaces in the path to run.fsx.
1 parent 25c1ef3 commit e86cc0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebJobs.Script/Description/ScriptFunctionInvoker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public override async Task Invoke(object[] parameters)
8686
await ExecuteScriptAsync(bashPath, scriptHostArguments, parameters);
8787
break;
8888
case "fsx":
89-
scriptHostArguments = string.Format("/c fsi.exe {0}", _scriptFilePath);
89+
scriptHostArguments = string.Format("/c fsi.exe \"{0}\"", _scriptFilePath);
9090
await ExecuteScriptAsync("cmd", scriptHostArguments, parameters);
9191
break;
9292
}

0 commit comments

Comments
 (0)