Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

devin9086

macrumors newbie
Original poster
Nov 1, 2014
6
0
Hello all,

This is my first post.

I have been getting problems on my Macbook pro 13", Early 2011. Yes, Old I know. My mac is running OSX Yosemite and when I open my terminal to mash in some codes, I get greeted with a "Process Completed" in the Terminal and I can't seem to get rid of that!

I would greatly appreciate some professional help. But I know that the last resort is to restore my Mac.

Thanks for y'll answers in advanced! :)
 
Upon quitting and reopening terminal you shouldn't get process completed.

Some things to check in Terminal preferences:

1. Under general, check sure "shell opens with" is set to Default login shell.
2. Under profiles -> shell make sure run command is empty and unticked.

It could be a problem with your user too. In System Preferences, go to Users and Groups, unlock if necessary, right click on your user, and choose advanced. The login shell should be /bin/bash - if it isn't, you can change this, but don't change anything else or you could screw your account up.
 
Hey! Thanks for the response!

Sad to say, Everything is the way it should be. But it still gives the [Process Completed] Command! I did delete the "com.apple.Terminal.plist" too, As suggested by another site! But other than that, Still the same problem!

And I have just checked, It affects all accounts on the computer.
 
Last edited:
Hey! Thanks for the response!

Sad to say, Everything is the way it should be. But it still gives the [Process Completed] Command! I did delete the "com.apple.Terminal.plist" too, As suggested by another site! But other than that, Still the same problem!

And I have just checked, It affects all accounts on the computer.

Does the [Process Completed] occur after every command or just the exit command?

If it is just the exit command and you want the terminal window to close, go to Terminal Preferences, select the Profiles tab, select the profile that you are using, select the Shell sub-tab and change the When the shell exits: drop down. Change it from the default Don't close the window.

DS
 
  • Like
Reactions: August51
Does the [Process Completed] occur after every command or just the exit command?

If it is just the exit command and you want the terminal window to close, go to Terminal Preferences, select the Profiles tab, select the profile that you are using, select the Shell sub-tab and change the When the shell exits: drop down. Change it from the default Don't close the window.

DS
Hey! Unfortunately, It shows that when I open the Terminal. So, Basically.. I cannot type anything into the terminal. Like I'm locked out of the Terminal.

Here are some Images of when I open the terminal:

http://i.imgur.com/kkkxZtQ.png - When Launching - Notice the top of the Terminal.
http://i.imgur.com/2B19HO3.png - When Terminal has Initialised. No commands can be inputted.
 
Last edited:
You won't get much change if you try deleting the com.apple.terminal.plist file - as Yosemite keeps those plist files cached, and retains the same settings if you don't restart before deleting the plist.
So, Launch terminal. Then, close whatever window opens. Check in the Windows menu to make sure that there's no hidden windows still open.

Quit the Terminal app.
Now, restart your Mac.
After that restart, before doing anything else, delete that com.apple.terminal.plist file. (drag to the trash, and be sure to empty the trash, too)
Now - launch Terminal, which should be back at the defaults.
If not, try the same sequence, along with restarting again.
 
Try renaming your .profile and .bashrc files. There could be something in one or both of those files that is causing the shell to exit.
 
You won't get much change if you try deleting the com.apple.terminal.plist file - as Yosemite keeps those plist files cached, and retains the same settings if you don't restart before deleting the plist.
So, Launch terminal. Then, close whatever window opens. Check in the Windows menu to make sure that there's no hidden windows still open.

Quit the Terminal app.
Now, restart your Mac.
After that restart, before doing anything else, delete that com.apple.terminal.plist file. (drag to the trash, and be sure to empty the trash, too)
Now - launch Terminal, which should be back at the defaults.
If not, try the same sequence, along with restarting again.

I've tried that, But still.. The same problem.

----------

Try renaming your .profile and .bashrc files. There could be something in one or both of those files that is causing the shell to exit.

Could you walk me through it? Sorry, I'm not good in these stuff. :)
 
If you go to the Terminal -> Preferences menu, the default looks like this:

Screen Shot 2014-11-04 at 6.50.43 AM.png

Make the changes in the red box below and open a new window.

Screen Shot 2014-11-04 at 6.51.09 AM.png
 
Bummer. I thought maybe it couldn't find /bin/bash, but when I change the shell command name I get a different message than you're getting. I'm just grasping here, but there might be something corrupted with your user account, so I would create a new user account with administrative privileges and try again.

----------

Also, maybe it's time for you to poke around the Console utility and look for interesting error messages.
 
Could it be from previous session? Try

Code:
defaults write com.apple.terminal NSQuitAlwaysKeepsWindows -bool false
 
Guys now I am having the same problem, process completed as soon as I log in. I have tried literally every single thing on this page except erasing my computer.

Made a new user- same problem
Remove the plist file- same problem
 
Try to use "New command" (right click on the terminal icon or use the menu; File-New Commad) and paste in: rm -i ~/.profile ~/.bash*
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.