mirror of
https://github.com/ciromattia/kcc
synced 2026-06-09 16:10:30 +00:00
Fix for hardcoded kindlegen HD path.
This commit is contained in:
@@ -1699,6 +1699,10 @@ 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)
|
||||
|
||||
Reference in New Issue
Block a user