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
  • 635
  • 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)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java