<div class="gmail_quote">On Tue, Jun 9, 2009 at 6:49 PM, Essah Mitges <span dir="ltr">&lt;<a href="mailto:e_mitges@hotmail.com">e_mitges@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
What I am trying to do is start my pygame game from my pygame menuI do not think I am using the right code to do this I am trying to use the subprocess module to open a child window with the game inside of it but python doesn&#39;t like thatThe second thing that i&#39;d like to know how I could list the content of a text file inside a pygame window(this is a different file)Traceback (most recent call last):  File &quot;C:\Users\John Doe\Desktop\D-Day\back.py&quot;, line 47, in     main()  File &quot;C:\Users\John Doe\Desktop\D-Day\back.py&quot;, line 37, in main    elif sbut.clicked(k.pos):  File &quot;C:\Users\John Doe\Desktop\D-day\but.py&quot;, line 200, in clicked    subprocess.Popen([&quot;D-Day&quot;, &quot;Destruction.py&quot;])  File &quot;C:\Python26\lib\subprocess.py&quot;, line 595, in __init__    errread, errwrite)  File &quot;C:\Python26\lib\subprocess.py&quot;, line 804, in _execute_child    startupinfo)WindowsError: [Error 2] The system cannot find the file specified <br>

</blockquote><div><br>As far as I can tell, since your error formatting was lost, is that Popen can&#39;t find the the file. <br><br>The other problem is that what you&#39;re thinking of really makes no sense. Pygame doesn&#39;t need (and shouldn&#39;t) run a program &quot;inside&quot; the window. You should have all of your game processes available to the main program and when you want to start the game it should just be a part of it - not a subprocess.<br>

<br>HTH,<br>Wayne<br></div></div><br>