Scripts: Re-Sync Blend Files #240
@ -101,8 +101,7 @@ def main():
|
||||
for item in files_to_craw:
|
||||
cmd_list.insert(3, item)
|
||||
|
||||
with open('/tmp/resync_log.txt', 'w') as log:
|
||||
process = subprocess.Popen(cmd_list, stdout=log, stderr=log, shell=False)
|
||||
process = subprocess.Popen(cmd_list, shell=False)
|
||||
if process.wait() != 0:
|
||||
cancel_program(f"Resync Failed!")
|
||||
print("Resync Completed Successfully")
|
||||
|
Loading…
Reference in New Issue
Block a user