Skip to content

Commit

Permalink
use homedir as cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1te909 committed Jun 28, 2024
1 parent b10114c commit 82ae5e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/tacticalrmm/core/consumers.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def run_command(self):
stderr=slave_fd,
preexec_fn=os.setsid,
env=env,
cwd=os.getenv("HOME", os.getcwd()),
) as proc:
self.subprocess = proc
self.child_pid = proc.pid
Expand Down

0 comments on commit 82ae5e4

Please sign in to comment.