• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hiding terminal on app launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding terminal on app launch


  • Subject: Re: Hiding terminal on app launch
  • From: Doug McNutt <email@hidden>
  • Date: Fri, 08 Jun 2012 11:52:21 -0600

At 15:02 +0530 6/8/12, Mayank Agarwal wrote:
>And I found one more thing, the file that shortcut is launching
>is a "Unix Executable File".
>
>I guess this is it????


How long is that file?  If it's less than, say, a kilobyte, try opening it in a text editor or perhaps just performing a shell command  cat  on it.  Cat is short for concatenate which, in its simplest form, copies a file to standard out so you can see it if it's text.

man cat  # in Terminal.app for more.

If the file starts with the characters #! it is a shell script that runs and attempts to perform the launch for you.  It would be like the shell tool bbedit (lower case) that will launch the application BBedit.app and immediately do something such as opening the file shown as an argument to the bbedit tool.

Just reading the file may well supply your answer. If it's small enough consider posting it or a couple of lines from it.

It's also possible that the file is a binary created by the gcc compiler and linked without any intention to join the club of OS X applications which pretty much require programming with Apple's X-code.  Such things can be executed from a shell and they can read and write files. It would be pretty much impossible for such a file to interact with the GUI side of OS X. It would be more like the punched card approach of the 1970's.  Easier but not marketable to the masses.

Those binary files start with an 8 byte value that tells a bit about what they are. The shell tool hd, hex dump, can help but there is a learning curve associated with that.

--
1801 - Joseph Marie Jacquard uses punch cards to instruct a loom to weave "hello, world" into a tapestry.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Hiding terminal on app launch (From: marion dickten <email@hidden>)
 >Re: Hiding terminal on app launch (From: Shane Stanley <email@hidden>)
 >Re: Hiding terminal on app launch (From: Mayank Agarwal <email@hidden>)
 >Re: Hiding terminal on app launch (From: Shane Stanley <email@hidden>)
 >Re: Hiding terminal on app launch (From: Mayank Agarwal <email@hidden>)
 >Re: Hiding terminal on app launch (From: Mayank Agarwal <email@hidden>)

  • Prev by Date: Re: Hiding terminal on app launch
  • Next by Date: Scripting the AppleScript Editor
  • Previous by thread: Re: Hiding terminal on app launch
  • Next by thread: Scripting the AppleScript Editor
  • Index(es):
    • Date
    • Thread