• 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: osascript and text output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: osascript and text output


  • Subject: Re: osascript and text output
  • From: Skeeve <email@hidden>
  • Date: Mon, 28 Jul 2008 22:34:05 +0200

Mark J. Reed schrieb:
I would use /dev/tty instead of `tty`, as it avoids any potential weirdnesses due to inherited tty file descriptors in processes that can't open the tty by full pathname. Plus it saves a process, for whatever that's worth when you're already shelling out.
Hmmm… But is /dev/tty the same as the output of /usr/bin/tty?

I used `tty` (better would be to use `/usr/bin/tty`) to get the current terminal's number.
_______________________________________________
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: 
 >Re: osascript and text output (From: xcgr <email@hidden>)
 >Re: osascript and text output (From: Skeeve <email@hidden>)
 >Re: osascript and text output (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: perhaps I'll ask again on the Mail scripting thing
  • Next by Date: Re: osascript and text output
  • Previous by thread: Re: osascript and text output
  • Next by thread: Re: osascript and text output
  • Index(es):
    • Date
    • Thread