-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
procfile: Use real shell expansion for commands
Cleaned up from the original commit: 56f2556 Replace custom env variable parsing with proper shell execution Because env parsing is unreliable at best, and executing the command using child_process.exec and the proper env variables lets the shell do its thing. By using child_process.exec, we also get the benefit of allowing quoted arguments and subshell execution like the following: `web: sh -c 'supervisor -e "node|js|json" ./server.js'` Previously the whitespace splitting wouldn't take quoted arguments into account and the command would fail.
- Loading branch information
1 parent
18a089b
commit 1389d37
Showing
3 changed files
with
38 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters