Can we do this using Java with existing Cucumber bdd Frame work: Unix batch Automation for which jdk version batch is using?. if we can how to do it
@rockerhackpower5043 жыл бұрын
Hi! Do you think this can be done from a Windows machine, where .sh processes are run via putty remotly?
@raksrahul3 жыл бұрын
You can try Putty’s plink tool. Something like: plink user@host /path/to/shell
@mayankmittal13442 жыл бұрын
Hi Rahul, could you kindly share the code snippet which you used?
@debangshudeb26473 жыл бұрын
CreateProcess error=193, %1 is not a valid Win32 application ,getting this error
@mohammadkassir35452 жыл бұрын
Hi ,Same error , did you found a solution
@DurgeshKumar-ij5hb2 жыл бұрын
I have two pc. PC-1 and PC-2 and I have same script in PC 2 and I want to run the program in PC-1. How i will do but I have username password ip address and file location. These things. How i will do please please help me.
@raksrahul2 жыл бұрын
You will have to connect other PC with some network protocol like SSH, then you will be able to run script.
@DurgeshKumar-ij5hb2 жыл бұрын
@@raksrahul ok. I will try because this is very important for me.
@movielifelives2 жыл бұрын
How to do this via keys on keyboard
@Animemarkotaku3 жыл бұрын
Thank you so much, I'll try to execute on Spring Boot and it must execute a jar file. Greetings.
@pallavithukral99622 жыл бұрын
Were you able to run this in springboot project ? I need to run .sh file in springboot project but facing error
@pallavithukral99622 жыл бұрын
Also I need to run it in windows
@kotharajashekhar12522 жыл бұрын
It is working fine but i want execute multiple shell script based on condition, can you please give me a code
@clarksinga80423 жыл бұрын
are you on windows?
@raksrahul3 жыл бұрын
Hi.. this example is on Ubuntu.
@sparrowsamuel84593 жыл бұрын
Good! but how do we do if the script is an interactive script?
@raksrahul3 жыл бұрын
Hi Sparrow, For interactive shell you will need to redirect input to current process input source. Lets say you want to read input from user using 'read' in shell then try using processBuilder.redirectInput(Redirect.INHERIT);