Re: [tcljava-user] How to know when a java application is closed from tcl
Brought to you by:
mdejong
From: Eva P. M. <evi...@gm...> - 2009-02-20 09:36:54
|
My java application must end calling System.exit(0). Can I do anything before exiting the java application to not make the tcl application die? I only want to launch a java application from tcl and let know the tcl when it has been finished. Thanks a lot. 2009/2/19, D. J. Hagberg <dha...@mi...>: > > That would work as long as the code/app you're executing is well > behaved. If that Java code calls System.exit, that will kill your > whole process... > > > > -=- D. J. > > On Feb 19, 2009, at 4:12 AM, Eva Perez Mastroianni < > evi...@gm... > > wrote: > > > Hi, > > > > I want to open a java application from a Tcl application and then, > > when the java application is closed, let it know to the Tcl > > > > application. > > > > I think I could do this with the tcl blend library using the command > > java::bind $p windowClosed. > > > > Is it correct or there is a better way to do this? > > > > Thanks. > > > > --- > > --- > > --- > > --------------------------------------------------------------------- > > Open Source Business Conference (OSBC), March 24-25, 2009, San > > Francisco, CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > > Enterprise > > -Strategies to boost innovation and cut costs with open source > > participation > > -Receive a $600 discount off the registration fee with the source > > code: SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > tcljava-user mailing list > > tcl...@li... > > https://lists.sourceforge.net/lists/listinfo/tcljava-user > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > tcljava-user mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-user > |