Skip to content

Commit

Permalink
Fix in args for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhellander committed Mar 20, 2024
1 parent 36f0913 commit 7213fce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fedn/fedn/utils/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def run_cmd(self, cmd_type):
if os.name != "nt":
shell = ['/bin/sh', '-c']
args = shell + [' '.join(cmd + args)]

else:
args = cmd+args
run_process(args=args, cwd=self.project_dir)

logger.info('Done executing {}'.format(cmd_type))
Expand Down

0 comments on commit 7213fce

Please sign in to comment.