Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias in .bashrc not working in Procfiles #149

Closed
giacomocerquone opened this issue Oct 31, 2017 · 1 comment
Closed

Alias in .bashrc not working in Procfiles #149

giacomocerquone opened this issue Oct 31, 2017 · 1 comment

Comments

@giacomocerquone
Copy link

Hi, first of all thanks for you work! I've spent so much time trying to solve this problem that I don't know anymore where to ask.
The problem is simple:

I have this alias in my .bashrc file:
alias python=python3
and I'm using node-foremon in the heroku cli environment with this procfile:
worker: python botcore.py.

When I try to launch that 'worker' it goes to take python2.7 (the default python) so the alias is not working (if I give python in the shell I obviously get python 3). This is due probably to the fact that aliases don't work in non interactive shells.

How can I solve this dilemma?

@giacomocerquone giacomocerquone changed the title Alias in .bashrc not working Alias in .bashrc not working in Procfiles Oct 31, 2017
@giacomocerquone
Copy link
Author

solved like this: heroku/heroku-local#41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant