Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11331

os.system() on Windows in Tkinter app spawns console window

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!novia!news-out.readnews.com!transit3.readnews.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!FUSE.NET-a2kHrUvQQWlmc!not-for-mail
Date Fri, 12 Aug 2011 22:49:32 -0400
From Kevin Walzer <kw@codebykevin.com>
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version 1.0
Newsgroups comp.lang.python
Subject os.system() on Windows in Tkinter app spawns console window
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <e1a7c$4e45e60e$4275d90a$2599@FUSE.NET> (permalink)
X-Complaints-To abuse@usenetserver.com
Organization UseNetServer.com
Lines 13
X-Trace e1a7c4e45e60ee7d07caf02599
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:11331

Show key headers only | View raw


I'm developing a Tkinter app for a Windows customer, and the app bundles 
several command-line tools (ported from Unix). I call out to these 
console tools from the Tkinter app via os.system(). However, in the 
frozen version of my app, when I call out to these tools, I get multiple 
console windows popping up. This is jarring to say the least. Is there 
any way to run the commands under the hood without the console/DOS 
windows popping up?

--Kevin
-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

os.system() on Windows in Tkinter app spawns console window Kevin Walzer <kw@codebykevin.com> - 2011-08-12 22:49 -0400
  Re: os.system() on Windows in Tkinter app spawns console window Nobody <nobody@nowhere.com> - 2011-08-13 06:15 +0100
    Re: os.system() on Windows in Tkinter app spawns console window Kevin Walzer <kw@codebykevin.com> - 2011-08-14 13:15 -0400

csiph-web