1
0
mirror of https://github.com/ciromattia/kcc synced 2026-07-13 00:13:21 +00:00

Fixed an issue in OPF generation for device resolution (fixes #4)

Reworked options system (call with -h option to get the inline help) (fixes #3)
This commit is contained in:
Ciro Mattia Gonano
2013-01-10 13:03:13 +01:00
parent d24c88d3c2
commit 988a357555
11 changed files with 139 additions and 89 deletions
@@ -1699,10 +1699,6 @@ def custom_popen(cmd):
if sys.platform == 'win32':
creationflags = 0x08000000 # CREATE_NO_WINDOW
out_file = open("/tmp/test.txt","w")
out_file.write('[%s]' % ', '.join(map(str, cmd)))
out_file.close()
# run command
p = Popen(cmd, bufsize = 0, stdout = PIPE, stdin = PIPE, stderr = STDOUT,
creationflags = creationflags)