Is there a way to continue typing in Terminal after I run a .command file? [on hold]












0















For example, let's say I want to set up my Python Virtual Environment. I would run python3 -m virtualenv env wait for it to run, then run source /Users/MyAccountName/env/bin/activate and then I would change my directory to wherever I want to be running Python files. It would be much easier to simply set that up in a .command file, so I can double click it and have it set up the Virtual Environment. However, when I run a .command file, once it is finished running, it simply prints:



logout
[Process Completed]


So, is there anyway for me to continue typing in the same Terminal tab after running a .command file?










share|improve this question







New contributor




Bob Ross is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by steeldriver, RoVo, Rinzwind, Takkat, karel Jan 17 at 14:52


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – steeldriver, RoVo, Rinzwind, Takkat, karel

If this question can be reworded to fit the rules in the help center, please edit the question.














  • Should have included this in the question, but I'm on Mac OSX 10.9.5

    – Bob Ross
    Jan 17 at 13:54











  • Welcome to askubuntu - however OSX questions should go on askdifferent - Ubuntu doesn't have .command files exactly

    – steeldriver
    Jan 17 at 14:00













  • Okay thanks, sorry for the time waste I was just looking for support forums

    – Bob Ross
    Jan 17 at 14:03











  • No problem - hope the folks at askdifferent can help you

    – steeldriver
    Jan 17 at 14:05
















0















For example, let's say I want to set up my Python Virtual Environment. I would run python3 -m virtualenv env wait for it to run, then run source /Users/MyAccountName/env/bin/activate and then I would change my directory to wherever I want to be running Python files. It would be much easier to simply set that up in a .command file, so I can double click it and have it set up the Virtual Environment. However, when I run a .command file, once it is finished running, it simply prints:



logout
[Process Completed]


So, is there anyway for me to continue typing in the same Terminal tab after running a .command file?










share|improve this question







New contributor




Bob Ross is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by steeldriver, RoVo, Rinzwind, Takkat, karel Jan 17 at 14:52


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – steeldriver, RoVo, Rinzwind, Takkat, karel

If this question can be reworded to fit the rules in the help center, please edit the question.














  • Should have included this in the question, but I'm on Mac OSX 10.9.5

    – Bob Ross
    Jan 17 at 13:54











  • Welcome to askubuntu - however OSX questions should go on askdifferent - Ubuntu doesn't have .command files exactly

    – steeldriver
    Jan 17 at 14:00













  • Okay thanks, sorry for the time waste I was just looking for support forums

    – Bob Ross
    Jan 17 at 14:03











  • No problem - hope the folks at askdifferent can help you

    – steeldriver
    Jan 17 at 14:05














0












0








0








For example, let's say I want to set up my Python Virtual Environment. I would run python3 -m virtualenv env wait for it to run, then run source /Users/MyAccountName/env/bin/activate and then I would change my directory to wherever I want to be running Python files. It would be much easier to simply set that up in a .command file, so I can double click it and have it set up the Virtual Environment. However, when I run a .command file, once it is finished running, it simply prints:



logout
[Process Completed]


So, is there anyway for me to continue typing in the same Terminal tab after running a .command file?










share|improve this question







New contributor




Bob Ross is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












For example, let's say I want to set up my Python Virtual Environment. I would run python3 -m virtualenv env wait for it to run, then run source /Users/MyAccountName/env/bin/activate and then I would change my directory to wherever I want to be running Python files. It would be much easier to simply set that up in a .command file, so I can double click it and have it set up the Virtual Environment. However, when I run a .command file, once it is finished running, it simply prints:



logout
[Process Completed]


So, is there anyway for me to continue typing in the same Terminal tab after running a .command file?







command-line macosx






share|improve this question







New contributor




Bob Ross is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Bob Ross is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Bob Ross is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Jan 17 at 13:54









Bob RossBob Ross

1




1




New contributor




Bob Ross is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Bob Ross is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Bob Ross is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as off-topic by steeldriver, RoVo, Rinzwind, Takkat, karel Jan 17 at 14:52


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – steeldriver, RoVo, Rinzwind, Takkat, karel

If this question can be reworded to fit the rules in the help center, please edit the question.




put on hold as off-topic by steeldriver, RoVo, Rinzwind, Takkat, karel Jan 17 at 14:52


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – steeldriver, RoVo, Rinzwind, Takkat, karel

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Should have included this in the question, but I'm on Mac OSX 10.9.5

    – Bob Ross
    Jan 17 at 13:54











  • Welcome to askubuntu - however OSX questions should go on askdifferent - Ubuntu doesn't have .command files exactly

    – steeldriver
    Jan 17 at 14:00













  • Okay thanks, sorry for the time waste I was just looking for support forums

    – Bob Ross
    Jan 17 at 14:03











  • No problem - hope the folks at askdifferent can help you

    – steeldriver
    Jan 17 at 14:05



















  • Should have included this in the question, but I'm on Mac OSX 10.9.5

    – Bob Ross
    Jan 17 at 13:54











  • Welcome to askubuntu - however OSX questions should go on askdifferent - Ubuntu doesn't have .command files exactly

    – steeldriver
    Jan 17 at 14:00













  • Okay thanks, sorry for the time waste I was just looking for support forums

    – Bob Ross
    Jan 17 at 14:03











  • No problem - hope the folks at askdifferent can help you

    – steeldriver
    Jan 17 at 14:05

















Should have included this in the question, but I'm on Mac OSX 10.9.5

– Bob Ross
Jan 17 at 13:54





Should have included this in the question, but I'm on Mac OSX 10.9.5

– Bob Ross
Jan 17 at 13:54













Welcome to askubuntu - however OSX questions should go on askdifferent - Ubuntu doesn't have .command files exactly

– steeldriver
Jan 17 at 14:00







Welcome to askubuntu - however OSX questions should go on askdifferent - Ubuntu doesn't have .command files exactly

– steeldriver
Jan 17 at 14:00















Okay thanks, sorry for the time waste I was just looking for support forums

– Bob Ross
Jan 17 at 14:03





Okay thanks, sorry for the time waste I was just looking for support forums

– Bob Ross
Jan 17 at 14:03













No problem - hope the folks at askdifferent can help you

– steeldriver
Jan 17 at 14:05





No problem - hope the folks at askdifferent can help you

– steeldriver
Jan 17 at 14:05










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局