Results 1 to 3 of 3
  1. #1
    cracker is offline Member
    Join Date
    Jan 2011
    Posts
    3
    Rep Power
    0

    Thumbs up How to run and exit a process

    hi everyone
    title looks like simple and easy but for me its little bit hard one......

    am running a .exe file using runtime.exec() command, its works fine when i run that .exe file a GUI popups, i need to keep that GUI in backgrond i dnt want to popup that GUI.
    and second one is with the help of the code i want to close the process i.e the GUI which i have opened. i dnt have code of that .exe file. whenever we run that exe file a GUI will come...........

    thanx in advance............:mad::mad:

  2. #2
    codesmuggler is offline Member
    Join Date
    Feb 2011
    Posts
    30
    Rep Power
    0

    Default

    Checkout Process.destroy() for killing process.

  3. #3
    cracker is offline Member
    Join Date
    Jan 2011
    Posts
    3
    Rep Power
    0

    Thumbs up How to run and exit a process

    thanx for reply.........
    i have seen that one but it not working properly.
    if i stop the program execution also the gui will remain as it is......
    please help me in this regards............

Similar Threads

  1. How to erase self and exit
    By jnadelman in forum AWT / Swing
    Replies: 0
    Last Post: 09-27-2010, 03:04 PM
  2. How to exit the program by typing "exit"?
    By Laythe in forum New To Java
    Replies: 6
    Last Post: 08-19-2009, 08:32 PM
  3. Process exit value = 128
    By trivektor in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 11-19-2008, 08:11 AM
  4. System.exit 0 or 1?
    By antgaudi in forum New To Java
    Replies: 3
    Last Post: 11-13-2008, 06:33 PM
  5. system.exit(..)
    By ramakanta.majhi in forum New To Java
    Replies: 2
    Last Post: 06-14-2008, 01:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •