-
- if tkMessageBox.askyesno ("Confirm", "Are you sure you wish to encode (in *NIX you must have TERM environment variable set)?"):
- if sys.platform.startswith ('win'):
- po, pi = os.popen2 ("cmd /K " + subprocess.list2cmdline (commandlist))
- else:
- if "TERM" in os.environ:
- if os.environ["TERM"] == "xterm":
- term_command = os.environ["TERM"] + " -hold -e " + subprocess.list2cmdline (commandlist)
- else:
- term_command = os.environ["TERM"] + " -e " + subprocess.list2cmdline(commandlist)
- po, pi = os.popen2 (term_command)
+
+ # this line is commented out because the confirmation dialog box is not working properly
+ # TKinter bug...
+# if tkMessageBox.askyesno ("Confirm", "Are you sure you wish to encode (in *NIX you must have TERM environment variable set)?"):
+ if sys.platform.startswith ('win'):
+ po, pi = os.popen2 ("cmd /K " + subprocess.list2cmdline (commandlist))
+ else:
+ if "TERM" in os.environ:
+ if os.environ["TERM"] == "xterm":
+ term_command = os.environ["TERM"] + " -hold -e " + subprocess.list2cmdline (commandlist)