|
#1
| ||||
| ||||
| running app from commandline, and then close the terminal hi it must be possible: run some app from the commandline, using an argument that makes it possible that the app runs on it's own, so i can close the terminal-session, without shutting down the app. how do i do that? |
|
#2
| ||||
| ||||
| You mean like backgrounding? Try placing a space and the character '&' after the terminal command: Code: > ./someapp arg1 arg2 &
__________________ Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k http://www.jeffhoppe.com |
|
#3
| ||||
| ||||
| i think the ampersand indeed puts the process to the background, so that that you get your promt back, and can do other stuff in the same terminal-session, but you can't close the window. i think i've seen someone do this once.. but i forgot.. thanks anyway. |
|
#4
| ||||
| ||||
| ...If it's a "normal" mac app, say Preview.app, you could do this: open /Applications/Preview.app && exit |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Close screen but keep powerbook running | rbrugos | Hardware & Peripherals | 5 | December 5th, 2005 04:46 PM |
| Close running program? | elpepe | Mac OS X System & Mac Software | 4 | November 15th, 2004 08:48 AM |
| How to close the Terminal window after a while using AppleScript? | voice- | Software Programming & Web Scripting | 3 | December 23rd, 2003 01:37 PM |
| Running aqua from the commandline. | unic@dds.nl | Mac OS X System & Mac Software | 8 | July 26th, 2002 06:12 AM |
| Terminal window close on shell exit | belsebubben | Mac OS X System & Mac Software | 2 | March 25th, 2001 09:23 AM |