Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves #5 カット編集の時に複数のログファイルができるはずが全部上書きされてしまっていたのを修正 #12

Merged
merged 1 commit into from
Jan 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions adapter/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ def prepareCmdRunner(identifier, cmd, timestamp, onFinished = None, osOperation
timestamp,
osOperation
)
# Touch the log file here. Without this, the same log file path will be used for all runners since tasks are not executed in this preparation step.
f = osOperation.open(logFilePath, "w")
f.close()
runner = CmdRunner(identifier, cmd, logFilePath, onFinished, osOperation)
return runner

Expand Down