Skip to content

Commit

Permalink
change the function input description
Browse files Browse the repository at this point in the history
  • Loading branch information
Arslan-Siraj authored Sep 22, 2023
1 parent 477652b commit 69c6bb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/run_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ def run_subprocess(args: list[str], variables: list[str], result_dict: dict) ->
Run a subprocess and capture its output.
Args:
args (List[str]): The command and its arguments as a list of strings.
variables (List[str]): Additional variables needed for the subprocess (not used in this code).
result_dict (Dict[str, Union[bool, str]]): A dictionary to store the success status (bool) and the captured log (str).
args (list[str]): The command and its arguments as a list of strings.
variables (list[str]): Additional variables needed for the subprocess (not used in this code).
result_dict dict: A dictionary to store the success status (bool) and the captured log (str).
Returns:
None
Expand Down Expand Up @@ -51,4 +51,4 @@ def run_subprocess(args: list[str], variables: list[str], result_dict: dict) ->
else:
result_dict["success"] = False
# Save all lines from standard error to the log, even if the process encountered an error
result_dict["log"] = " ".join(stderr_)
result_dict["log"] = " ".join(stderr_)

0 comments on commit 69c6bb6

Please sign in to comment.