Is there a way to continue typing in Terminal after I run a .command file? [on hold]
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
New contributor
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.
add a comment |
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
New contributor
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
add a comment |
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
New contributor
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
command-line macosx
New contributor
New contributor
New contributor
asked Jan 17 at 13:54
Bob RossBob Ross
1
1
New contributor
New contributor
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
add a comment |
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
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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