How to start a Linux process from a Windows application?

My interactive 32-bit Windows application (now moving from Delphi [Ent] from 2007 to 2009) uses command-line interactions to create child processes that perform computationally intensive tasks, which in turn write text files that they analyze GUI parent application and analyzes are the result of an interactive graphical display of the results.

I have access to the Linux multiprocessor (multi-user) cluster (via ssh) and would like to disable the heavy lift to this cluster. My question is how to create processes on Linux from my Windows application. I can imagine how to use secure FTP to host and retrieve files, but I'm not sure how to create child processes on Linux.

Some conclusions for further reading will be accurate, but the code / pseudocode will be perfect. I can imagine that this may be more related to the interaction of Windows-Linux than to Delphi.

+5
source share
3 answers

if you have access to ssh, one of them is issuing commands. For example:

ssh user@host ls -l ~

ssh- . , , . , , .

, SSH

, , Linux, , .

+6

- Linux, . - API , Windows. , . , ssh, ssh Windows ​​sshd Linux. - CGI script Linux, http ( https ).

, , Windows.

+5

"putty".

, PSCP PLINK SSH.

Hint: you will need to configure the full public / private key configuration for PLINK to work without the annoying password hint. There is a useful guide http://unixwiz.net/techtips/putty-openssh.html> here.

+5
source

All Articles