essential-actions

Clone or download

[Run Executable] - Add arguments field

Modified Files

--- 'a/runexecutableaction/src/main/java/com/stream_pi/runexecutableaction/RunExecutableAction.java'
+++ b/runexecutableaction/src/main/java/com/stream_pi/runexecutableaction/RunExecutableAction.java
@@ -71,8 +71,8 @@ public class RunExecutableAction extends
if(getServerConnection().getPlatform() == Platform.WINDOWS)
{
- String command = "powershell -Command \"cd "+executableFile.getParentFile().toString()+
- "; Start-Process -FilePath '"+executableLocation+"' -ArgumentList '"+arguments+"' ";
+ String command = "powershell -Command \"cd '"+executableFile.getParentFile().toString()+
+ "'; Start-Process '"+executableLocation+"' -ArgumentList '"+arguments+"' ";
getLogger().info("Full command : "+ command);