avidCoderSuper Contributor7 years agoSolvedJava.io.IOException - Cannot run program "C:\Program": CreateProcess error=2 Please look into the below code:- def command = "C:\\Program Files\\PuTTY\\putty.exe -ssh servername -l username -pw password" def proc = command.execute() proc.waitFor() This code works in ...Show MoreHimanshuTayal7 years agoHi avidCoder , Not sure can you try with installing your PUTTY in D drive or to a folder have no spaces in filepath like below one with no space in whole path: D:\\PuTTY\\putty.exe -ssh servername -l username -pw password"
HimanshuTayal7 years agoHi avidCoder , Not sure can you try with installing your PUTTY in D drive or to a folder have no spaces in filepath like below one with no space in whole path: D:\\PuTTY\\putty.exe -ssh servername -l username -pw password"
HimanshuTayal7 years agoHi avidCoder , Not sure can you try with installing your PUTTY in D drive or to a folder have no spaces in filepath like below one with no space in whole path: D:\\PuTTY\\putty.exe -ssh servername -l username -pw password"
Recent DiscussionsSet active environment on SaveLicensing error while running TestRunnerHow to resolve merge conflicts in ReadyAPI
Related Contentjava.io.IOException: Cannot run program "cmd.exe" (in directory "C:\axis-bin-1_4java.io.IOException: UT010029: Stream is closed on DataSourceLoop[SoapUI] An error occurred [Probably bad PKCS12 password: java.io.IOException