Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Launch4j: Failed to run the given command

rednoah
2013-07-19
2013-08-21
  • rednoah
    rednoah
    2013-07-19

    Hi,

    I'm using Launch4j to wrap a Java console application.

    If my Java code terminates with System.exit(-1)

    I get this output:
    Launch4j: Failed to run the given command.

    But the return code of the exe will always be 0 regards less of System.exit(?).

    Am I doing something wrong that prevents Launch4j to return the Java exit code? And if possible can I disable the Launch4j console output?

    Cheers,
    Reinhard

     
  • Grzegorz Kowal
    Grzegorz Kowal
    2013-08-21

    Hi,

    It was reported as bug #75, I'll take a look at it.

    BR,
    Grzegorz