Skip to content

Commit

Permalink
Edit resolved_context.execute_shell's docstring (#1516)
Browse files Browse the repository at this point in the history
Signed-off-by: Erwan Leroy <herronelou@gmail.com>
  • Loading branch information
herronelou committed Sep 4, 2023
1 parent 2c7c50d commit cf46b9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rez/resolved_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,9 @@ def execute_shell(self, shell=None, parent_environ=None, rcfile=None,
Popen_args: args to pass to the shell process object constructor.
Returns:
If blocking: A 3-tuple of (returncode, stdout, stderr);
If blocking: A 3-tuple of (returncode, stdout, stderr).
Note that if you want to get anything other than None for stdout
and/or stderr, you need to give stdout=PIPE and/or stderr=PIPE.
If non-blocking - A subprocess.Popen object for the shell process.
"""
sh = create_shell(shell)
Expand Down

0 comments on commit cf46b9c

Please sign in to comment.