image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old June 3rd, 2009, 08:43 AM
Registered Idiot
 
Join Date: Apr 2008
Posts: 45
Thanks: 5
Thanked 1 Time in 1 Post
ChrisM666 can only hope to improve
Syntax to remove terminal window after command has run?

I need to launch a CLI app - synergy - and can't ascertain what the syntax is to avoid the terminal window hanging around after the command is completed.

(Not the end of the world but I'm sure things can be kept clean on the desktop.)
Reply With Quote
  #2  
Old June 3rd, 2009, 09:39 AM
ElDiabloConCaca's Avatar
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 13,004
Thanks: 8
Thanked 444 Times in 425 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
"exit"

If you're running a one-line script or something, this may work:
Code:
./synergy --args; exit
__________________
Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display
MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM
iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 12Mb/1.5Mb
http://www.jeffhoppe.com
Reply With Quote
Reply

Bookmarks

Tags
cli

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 04:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright 2000-2010 DigitalCrowd, Inc.