Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: CancelAsync() Always seems to timeout

$
0
0
Hi,

What I found, that even in Putty/PLink I see the same approach: when I start a command it continues after cancelling the command itself (press ctrl+c in command prompt) by default.

However when I forced plink to allocate a pty, (-t) it was working fine, and commands could be cancelled easily. So I assume, that the problem comes from PTY allocation.

Here I did not found any support for this on SshCommand level. A Shell/ShellStream can be used, or we should ask for PTY reservation feature for SshCommand. However this second option sounds much better. :)

(I found here only this about the topic: discussion:541597)


Thanks a lot for your help,
gyoreg

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>