question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for running commands directly in the pipenv shell?

See original GitHub issue

I would like the ability to specify a command to run in the pipenv shell so that I can simulate my production environment locally with a single call:

$ pipenv shell heroku local

# or alternate syntax:

$ pipenv shell -c "heroku local"

Would you support this use case?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
kennethreitzcommented, Feb 1, 2017

added in master!

0reactions
metakermitcommented, Sep 6, 2018

No, it’s got nothing to do with pipenv from what I see, it’s just that Django’s runserver is buffering output, so unless you add this flag there would be no output coming from this process in honcho (which got me confused about why is the server not starting – it was indeed running, just showing no output).

Read more comments on GitHub >

github_iconTop Results From Across the Web

batch: launch pipenv shell, then run command in the virtual ...
You can use pipenv run instead of pipenv shell to directly run a python command or a batch script. You won't be able...
Read more >
Support running local scripts with pipenv run #2921 - GitHub
Currently pipenv run will run either: An executable in the $PATH; A script listed in Pipfile's [scripts] ... Start a pipenv shell ,...
Read more >
How to manage Python projects with Pipenv - InfoWorld
To activate the environment, just navigate to your project directory and use pipenv shell to launch a new shell session or use pipenv...
Read more >
Advanced Usage of Pipenv - Read the Docs
Pipenv supports creating custom shortcuts in the (optional) [scripts] section of your Pipfile. You can then run pipenv run <shortcut name> in your...
Read more >
pipenv Documentation - Read the Docs
It's because this command is intended to be run in a shell (also called a terminal or ... Originally pipenv supported only two...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found