Skip to content

Commit

Permalink
Add sub process wait logic
Browse files Browse the repository at this point in the history
  • Loading branch information
vish-cs committed Dec 26, 2024
1 parent 61df02d commit 29aa5e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions import-automation/executor/app/executor/import_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ def _run_with_timeout_async(args: List[str],
stdout.append(line)
logging.info(f'Process stdout: {line}')

process.wait()
end_time = time.time()

return_code = process.returncode
Expand Down

0 comments on commit 29aa5e7

Please sign in to comment.