Results 1 to 2 of 2
  1. #1
    Rupa is offline Member
    Join Date
    Apr 2010
    Posts
    1
    Rep Power
    0

    Post Eclipse project waits for return value and hangs.

    Hi,

    I am trying to develop a Eclipse GUI project. The idea is that when I execute the project and click on some button it must run a batch file.
    However, current scenario is that after executing the project and clicking on the button in GUI I need to click the Eclipse Console terminate button(Red button) in order for the batch file to get executed.

    What I understand is that my eclipse project is starting a process (main method) which calls the bat file. The bat file is starting its own process but Eclipse project is waiting for some sort of return value which never comes causing it to hang.

    Can anyone please tell me how to resolve this issue?

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    I'm not exactly sure what your problem is, but I think that this article may be quite helpful to you:

    JavaWorld: When Runtime.exec() Won't

    Please have a look and then let us know one way or another if this helps you resolve your problem. Much luck!

    Edit: Oh, and welcome to the forum!

Similar Threads

  1. Eclipse project error
    By bhanu in forum Eclipse
    Replies: 8
    Last Post: 09-07-2011, 02:56 PM
  2. opening project in eclipse
    By keioGirl in forum Eclipse
    Replies: 1
    Last Post: 04-23-2009, 03:09 PM
  3. Eclipse And Project Management
    By Moncleared in forum Advanced Java
    Replies: 0
    Last Post: 02-20-2009, 04:44 PM
  4. Replies: 0
    Last Post: 07-18-2008, 09:14 AM

Tags for this Thread

Posting Permissions

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