vb.net - SSH.net How to Get the Screen -r output -
i want text of console made didnt work.
using ssh = new sshclient(server, user, password) ssh.connect() ssh.runcommand("script /dev/null") dim wfile system.io.streamwriter dim log = ssh.runcommand("screen -r minecraft") wfile = my.computer.filesystem.opentextfilewriter(application.executablepath & "test.txt", true) wfile.write(log) wfile.close() end using
Comments
Post a Comment