Control-C


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

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

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center