Questions tagged [runcommand]

53 questions
0
votes
0 answers

c# SshClient RunCommand error

Through SshClient I can connect to the machine, but when I run the code: using (var client = new SshClient(_server, _user, _password)) { client.Connect(); var commandResult =…
memmo77
  • 25
  • 1
  • 6
0
votes
1 answer

ssh.net library - client.RunCommand() is not working

The program hangs at the .RunCommand(). Am I missing something really basic? It seems that this is the same code that works for other people and I know that the command is correct. If I comment out the .runcommand() the program executes without…
0
votes
1 answer

Is Run command in Windows executable file?

Suddenly i got one thing in my mind that most of the win applications like windwos version(winver), calc and all are executable files which will be there in Windows or System32 folder. Like that, Run Command which we are using Win+R shortcut are…
Pon
  • 315
  • 1
  • 5
  • 10
0
votes
2 answers

SSH.NET won't allow this string

Sorry if i've overlooked something silly... using (var client = new SshClient("ipaddress", "USER", "PASSWORD")) { client.Connect(); string xnatCli = @"XNATRestClient -host http://localhost:8080/xnat/ -u admin -p administrator -m PUT…
user3276223
  • 59
  • 1
  • 8
0
votes
1 answer

Execute Run Command In Android Programmatically

The way when i execute command in run window in window 7 like:- C:\Users\Nitin\Desktop\pradeet t\bin> ffmpeg -y -threads 4 -i input_file -map 0 -acodec copy -vcodec copy D:\ad.mp4 Now i want to execute this in Android Programmatically. but i am…
0
votes
1 answer

SSH.NET RunCommand To Save Command Output to File

I'm trying to run a command on a remote server via SSH. I need the output of the command that is run to be saved in a file on that remote server. I've been attempting to this the following way // ssh is the SshClient which is already set…
loopback128
  • 312
  • 4
  • 10
-1
votes
1 answer

Adding entries to Win + R

I created a program I would like to launch using the Run command (Win + R). How would I go about adding program paths to the Run command's current list of programs? Some people have suggested using batch files, but I am still unsure where to place…
Zoroshino
  • 81
  • 1
  • 5
-3
votes
2 answers

How to run linux command from JAVA?

I want to make a java web interface that run bash process in the background. So, in java how can I run linux command like "ls -al" or run bash script. Is there any package or java plugin that able to invoke OS command in JAVA? Thanks all
Kenny Basuki
  • 625
  • 4
  • 11
  • 27
1 2 3
4