Topic "Command Line Problems"

Author Message
JohnA

Guest


I am using the command line version (i.e., WinScp.com) from a Windows GUI that I made using C#. I noticed that when my program invokes WinScp.com it also starts WinScp.exe in the background. The problem is that when I want to cancel an operation from my GUI I issue:

"^C"
"exit"

commands and it does not always shutdown the extra copy of WinScp.exe that it started in the background. When this happens an error message usually comes up after a few minutes saying:

"Timeout waiting for external console to complete the command"

Is there a way around this?

Thanks .. John
Advertisements
JohnA

Guest


Does anybody know how to ensure that WinScp.exe shuts down automatically when closing WinScp.com. Note that I am referring to the case where WinScp.exe is started by invoking WinScp.com.

Thanks
JohnA

Guest


Well I have resorted to finding and killing all WinSCP processes when I exit my program. This does clean up the residual process(es) but is a bit of a kludge.

John
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
What are you doing after issuing exit command?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License