Link Details

Link 959981 thumbnail
User 448255 avatar

By dotCore
via dotnet.dzone.com
Published: Apr 24 2013 / 23:00

It’s much nicer to to make your console application work with Windows command line conventions and exit when the user types Control-C.
  • 9
  • 0
  • 534
  • 691

Comments

Add your comment
User 218789 avatar

eelmore replied ago:

0 votes Vote down Vote up Reply

Wouldn't it be easier to just have a sleeping infinite loop without all that event nonsense? Something like for(;;) { sleep(whatever); }

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (0)



    Java EE7
    Written by: Andrew Lee Rubinger
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. CI Patterns
    5. CI Tools
    1. Spring Integration
    2. Git
    3. Regex
    4. Java
    5. REST