Skip to content

Commit

Permalink
Bugfix for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
Egil committed Oct 16, 2023
1 parent 0558a9c commit 2083b01
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
1 change: 0 additions & 1 deletion pieshell/pipeline/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import traceback
import threading
import signal
import signalfd
import operator
import re
import builtins
Expand Down
1 change: 0 additions & 1 deletion pieshell/pipeline/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import traceback
import threading
import signal
import signalfd
import operator
import re
import builtins
Expand Down
1 change: 0 additions & 1 deletion pieshell/pipeline/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import traceback
import threading
import signal
import signalfd
import operator
import re
import builtins
Expand Down
1 change: 0 additions & 1 deletion pieshell/pipeline/redirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import traceback
import threading
import signal
import signalfd
import operator
import re
import builtins
Expand Down
16 changes: 15 additions & 1 deletion pieshell/pipeline/running.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import traceback
import threading
import signal
import signalfd
import operator
import re
import builtins
Expand Down Expand Up @@ -135,6 +134,21 @@ def is_failed(self):
def exit_code(self):
return self.processes[-1].exit_code

def __ror__(self, other):
# Call reredirect here
other = self.pipeline._coerce(other, 'stdin')
if isinstance(other, redir.Redirects):
pass
else:
pass
def __or__(self, other):
# Call reredirect here
other = self.pipeline._coerce(other, 'stdout')
if isinstance(other, redir.Redirects):
pass
else:
pass

class BaseRunningItem(object):
is_running = False
is_failed = False
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages
import os.path

VERSION = "0.2.3"
VERSION = "0.2.4"

with open(os.path.join(os.path.dirname(__file__), "README.md"), "r") as rf:
with open(os.path.join(os.path.dirname(__file__), "pieshell", "README.md"), "w") as wf:
Expand Down

0 comments on commit 2083b01

Please sign in to comment.