Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Launch Classic at login without the splash screen' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Launch Classic at login without the splash screen
Authored by: bluehz on Aug 07, '03 12:19:47AM

This in itself is a nice little hint for starting classic from the CLI:

/System/Library/CoreServices/Classic\ Startup.app/Contents/Resources/TruBlueEnvironment &

... is there an equal to that for shutting down Classic from the CLI?



[ Reply to This | # ]
Launch Classic at login without the splash screen
Authored by: Kemul on Aug 07, '03 01:20:25AM

Well, the only way I can think of to shut down TruBlueEnvironment from CLI is to 'kill' it.

killall -m TruBlue

Any other ideas?



[ Reply to This | # ]
Launch Classic at login without the splash screen
Authored by: bluehz on Aug 07, '03 07:50:16PM

yeah thats what I was thinking... I hate to just kill a running OS though which may have apps, dosc, etc. open. After looking at the kill man pages a bit more I was thinking maybe a kill -6 ("quit"_ may be more in order. Tried it last night on a Classic I started up via CLI and it seemed to shut it down... but I did not have any open apps, docs in Classic running. I personally am not sure of the ramifications of a "Kill -6" though.

Common kill signals...
1 HUP (hang up)
2 INT (interrupt)
3 QUIT (quit)
6 ABRT (abort)
9 KILL (non-catchable, non-ignorable kill)
14 ALRM (alarm clock)



[ Reply to This | # ]
Launch Classic at login without the splash screen
Authored by: GaelicWizard on Aug 07, '03 09:10:21PM
osascript -e 'tell application "Classic Support" to shut down'
works MUCH better, as it tells classic's pseudo-finder-replacement to actually shut down. I'm not at my box now, so I can't test. experiment and all will become clear. :-)

---
Pell

[ Reply to This | # ]