mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-18 21:55:45 +02:00
[153275] [dstore-shells] Ctrl+C does not break remote program
This commit is contained in:
parent
6b12909d73
commit
8d52fd18a8
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
* David McKnight (IBM) [224906] [dstore] changes for getting properties and doing exit due to single-process capability
|
* David McKnight (IBM) [224906] [dstore] changes for getting properties and doing exit due to single-process capability
|
||||||
* David McKnight (IBM) [250203] [dstore][shells]%var% is substituted to null in Unix shell
|
* David McKnight (IBM) [250203] [dstore][shells]%var% is substituted to null in Unix shell
|
||||||
* David McKnight (IBM) [249715] [dstore][shells] Unix shell does not echo command
|
* David McKnight (IBM) [249715] [dstore][shells] Unix shell does not echo command
|
||||||
|
* David McKnight (IBM) [153275] [dstore-shells] Ctrl+C does not break remote program
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.dstore.universal.miners.command;
|
package org.eclipse.rse.internal.dstore.universal.miners.command;
|
||||||
|
@ -570,6 +571,9 @@ public class CommandMinerThread extends MinerThread
|
||||||
// pty executable handles the break now
|
// pty executable handles the break now
|
||||||
if (input.equals("#break") && !_isTTY) //$NON-NLS-1$
|
if (input.equals("#break") && !_isTTY) //$NON-NLS-1$
|
||||||
{
|
{
|
||||||
|
// if no pty, then do it explicitly
|
||||||
|
_theProcess.destroy();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (input.equals("#enter")) //$NON-NLS-1$
|
else if (input.equals("#enter")) //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue