VB.net Check if Process has started in a loop -
so want connect tool jump server, should automaticly connect server then.
so first start process rx.exe
after that, should check if rx.exe started, because takes 15 seconds start rx.exe , execute sendkeys.
process.start("c:\program files\attachmate\reflection\rx.exe", "-nm -c \desktop\ssh.rxc") 'connect server 'check if process running (rx.exe) sendkeys.send("./skript") 'jump antoher server sendkeys.send("{enter}") sendkeys.send("2") sendkeys.send("{enter}") sendkeys.send(server.text) sendkeys.send("{enter}")
Comments
Post a Comment