EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Is it possible to kill a process?

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 03/09/2012 07:39:01
by Andy Gardner (SUPPORT DISABLED)
Joined: 02/17/2012
Posts: 51

Once you have started a command using the TElSimpleSSHClient.Command or TElSimpleSSHClient.Commands properties, is there a way to kill the process?
Posted: 03/09/2012 07:51:23
by Vsevolod Ievgiienko (Team)

Thank you for contacting us.

It depends on your server. First of all try to close SSH connection explicitly and check if this results in process termination on server side.
Posted: 03/09/2012 07:58:17
by Eugene Mayevski (Team)

SSH doesn't offer a universal way, but for Unix it's possible to establish another connection and send something like "grep xxx | KILL -KILL ..." command (I don't know exact syntax of this such command, sorry). On Windows I doubt that it would be possible.

Sincerely yours
Eugene Mayevski



Topic viewed 587 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!