Am Montag, 19. Juli 2004 18:42 schrieb Jody Winston: > System information: > > $ uname -a > Linux dev000cm 2.4.20-xfs-sym-qla #12 SMP Fri Apr 11 17:07:38 CDT 2003 > i686 i686 i386 GNU/Linux > > $ gcc -v > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3/specs > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --enable-shared --enable-threads=posix > --disable-checking --with-system-zlib --enable-__cxa_atexit > --host=i386-redhat-linux > Thread model: posix > gcc version 3.3 20030623 (Red Hat Linux 3.3-12) > dev000cm:~/src/Languages/Python > > $ python > Python 2.3.3 (#3, Jul 13 2004, 14:41:00) > [GCC 3.3 20030623 (Red Hat Linux 3.3-12)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > > qscintilla-1.60-gpl-1.3 > sip-4.0.1 > PyQt-x11-gpl-3.12 > eric-3.4.2 or eric-snapshot-20040714 > > I'd like to invoke eric3 inside of a python application. I really > don't want to call eric3's main since it calls sys.exit. But if I > write my own main, I receive the following message: > > /home/jwinston/Tools/i686-unknown-linux/bin/python: can't open file > '/ts1/jwinston/src/TANGO/3/src/Prototypes/sam/demo/test2/Debugger/Debu >gClient.py' > > Is there supported way to invoke eric3 inside of an application? >
os.spawnv(...) could solve your problem. Detlev -- Detlev Offenbach [EMAIL PROTECTED] _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde