Skip to content

Commit

Permalink
Merge d146618 into 0bb9093
Browse files Browse the repository at this point in the history
  • Loading branch information
MarSoft committed Feb 5, 2022
2 parents 0bb9093 + d146618 commit 28ee936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sh.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ def __int__(self):


def output_redirect_is_filename(out):
return isinstance(out, basestring)
return isinstance(out, basestring) or hasattr(out, '__fspath__')


def get_prepend_stack():
Expand Down

0 comments on commit 28ee936

Please sign in to comment.