Skip to content

Commit

Permalink
fixes(#10): run command regardless of bash environment script exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
markbirbeck committed Feb 5, 2016
1 parent e26f79f commit ad231ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OsShell.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _process(commands, callback=None, stdin=None, settings=None, working_dir=Non
bash_env = os.getenv('ENV')

if bash_env is not None:
command = '. {} && {}'.format(bash_env, command)
command = '. {}; {}'.format(bash_env, command)

# Work out whether the executable is being overridden in the
# configuration settings or an environment variable:
Expand Down

1 comment on commit ad231ae

@markbirbeck
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message is wrong...should be fixes(#50): ....

Please sign in to comment.