ctmrbio / ctmrbio/run_in_parallel

Automatically append & at the end of calls if --stack > 1 ?

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Is it reasonable to automatically append `&` to the end of the `--call` if `--stack` > 1?
I'm thinking it might be messy if it is a composite command, and only some of the intermediary commands need to be run in the background. Perhaps this could be detected by checking the call string for the presence of semicolons to determine if it is a composite call, and fall back to not appending `&` to the call string in those cases. Not really sure what the use cases look like, if it's even an issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the CLI handling for `--call` and `--stack`, then inspect how command strings are assembled and launched. Determine whether appending `&` is safe for simple calls and how semicolon-containing composite calls should behave; the issue currently does not define an accepted result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.