Skip to content

Commit

Permalink
allow script path which contains folder name with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sudarshan0212 committed May 14, 2019
1 parent 0dfe3d3 commit bfa8491
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion GingerPythonPluginConsole/Ginger.PluginPackage.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Id": "GingerPython",
"Id": "Python",
"Version": "v1.1.0",
"ProjectUrl": "https://github.com/Ginger-Automation/Ginger-Python-Plugin",
"Description": "Execute Python script",
Expand Down
2 changes: 1 addition & 1 deletion GingerPythonPluginConsole/Scope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public String getExecuteArgs()
String argStr = null;
try
{
argStr = scriptPath;
argStr = string.Format("\"{0}\"", scriptPath);
if (args != null && args.Length > 0)
{
for (int i = 0; i < args.Length; i++)
Expand Down
3 changes: 1 addition & 2 deletions GingerPythonPluginTest/UnitTest1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ public void RunScript6()
Assert.AreEqual("7", GA.Output["b"]);
Assert.AreEqual("11", GA.Output["sum"]);
}
//====================== Script file ==================
[Ignore]
//====================== Script file ==================
[TestMethod]
public void RunScript7()
{
Expand Down

0 comments on commit bfa8491

Please sign in to comment.