DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Thread: Control-C

Hybrid View

  1. #1
    Patrick Lacson Guest

    Control-C

    what's the easisest way to prevent a running console app from stopping
    when the user does a control-c or control-\ ?

    --
    </Patrick>
    http://patrick.lacson.org
    patrick@lacson.org

  2. #2
    Ruchi Dhar Guest

    Re: Control-C


    To disable control-c use the -Xrs option with the java command.

    eg: java -Xrs MyApp


    Read the JDK ToolDocs for your OS.

    Patrick Lacson <patrick@lacson.org> wrote:
    >what's the easisest way to prevent a running console app from stopping
    >when the user does a control-c or control-\ ?
    >
    >--
    ></Patrick>
    >http://patrick.lacson.org
    >patrick@lacson.org



  3. #3
    Patrick Lacson Guest

    Re: Control-C

    Thanks!

    -P

    Ruchi Dhar wrote:
    >
    > To disable control-c use the -Xrs option with the java command.
    >
    > eg: java -Xrs MyApp
    >
    > Read the JDK ToolDocs for your OS.
    >
    > Patrick Lacson <patrick@lacson.org> wrote:
    > >what's the easisest way to prevent a running console app from stopping
    > >when the user does a control-c or control-\ ?
    > >
    > >--
    > ></Patrick>
    > >http://patrick.lacson.org
    > >patrick@lacson.org


    --
    </Patrick>
    http://patrick.lacson.org
    patrick@lacson.org

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links