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
Printable View
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
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
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