Skip to content

run.command(): Fix operation of -continue#3153

Merged
Lestropie merged 1 commit intodevfrom
run_command_fix_continue_pathlib
Aug 26, 2025
Merged

run.command(): Fix operation of -continue#3153
Lestropie merged 1 commit intodevfrom
run_command_fix_continue_pathlib

Conversation

@Lestropie
Copy link
Member

The existing implementation of -continue assumed that, for a list of elements to be provided to subprocess.run(), each element was a string, and therefore string operations could be applied. However with the adoption of pathlib for handling user-specified paths in #2678, an element in this list may be a class derived from those provided in the pathlib module that does not provide string functions.

The existing implementation of -continue assumed that, for a list of elements to be provided to subprocess.run(), each element was a string, and therefore string operations could be applied. However with the adoption of pathlib for handling user-specified paths in #2678, an element in this list may be a class derived from those provided in the pathlib module that does not provide string functions.
@github-actions
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@Lestropie
Copy link
Member Author

Failure here is due to #3149 not yet having been merged from master back to dev. I need to finish #3101 before that can happen. Merging despite CI failure as want to try to reduce open PR count.

@Lestropie Lestropie merged commit 70031c3 into dev Aug 26, 2025
5 of 6 checks passed
@Lestropie Lestropie deleted the run_command_fix_continue_pathlib branch August 26, 2025 04:44
Lestropie added a commit that referenced this pull request Aug 26, 2025
@Lestropie Lestropie restored the run_command_fix_continue_pathlib branch August 26, 2025 07:51
@Lestropie Lestropie deleted the run_command_fix_continue_pathlib branch August 27, 2025 00:35
@Lestropie Lestropie mentioned this pull request Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant