Warren Young writes:
> On Dec 3, 2014, at 2:12 PM, Michelle Ma wrote:
>
>> If I type Ctrl-C from the windows command prompt, the "Ouput" line got
>> called. However, if I type Ctrl-c from the Cygwin, the "Output" line
>> didn't get called.
>
> I assume you are trying this from the default MinT
On Dec 3, 2014, at 2:12 PM, Michelle Ma wrote:
> If I type Ctrl-C from the windows command prompt, the "Ouput" line got
> called. However, if I type Ctrl-c from the Cygwin, the "Output" line
> didn't get called.
I assume you are trying this from the default MinTTY shell. What happens if
you
I have a java program with adding a shutdown hook:
public class Test {
public static void main(String args[]) {
Runtime.getRuntime().addShutdownHook(new Thread() {
public void run() {
System.out.println("Called"); // Ouput
}
});
for(;;);
}
}
If I type
3 matches
Mail list logo