• 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: Passing argumenst to C executable from Apple script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing argumenst to C executable from Apple script


  • Subject: Re: Passing argumenst to C executable from Apple script
  • From: Christopher Nebel <email@hidden>
  • Date: Fri, 18 Apr 2008 13:01:15 -0700

On Apr 18, 2008, at 7:27 AM, Philip Aker wrote:

On 08-04-18, at 05:32, Mark J. Reed wrote:

If it's named "MyTest.exe", then "./MyTest" won't work. OS X is not Windows

I would just like to reinforce the comment above. You'll have to port the executable to Mac OS X format to script it.

I believe Mark was merely pointing out that Mac OS X will not automagically fill in the ".exe": "./MyTest" will not invoke an executable named "MyTest.exe", you have to give it the complete name. There is, of course, no reason to name executables with ".exe" in Mac OS X, but on the other hand there's also no reason you can't, it's just not traditional.



--Chris Nebel AppleScript Engineering

_______________________________________________
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: 
 >Passing argumenst to C executable from Apple script (From: SVV Satyanarayana <email@hidden>)
 >Re: Passing argumenst to C executable from Apple script (From: Philip Aker <email@hidden>)
 >Re: Passing argumenst to C executable from Apple script (From: SVV Satyanarayana <email@hidden>)
 >Re: Passing argumenst to C executable from Apple script (From: "Mark J. Reed" <email@hidden>)
 >Re: Passing argumenst to C executable from Apple script (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Is there the equivalent of "any item of"
  • Next by Date: Re: Deleting "cached" items from the volumes folder
  • Previous by thread: Re: Passing argumenst to C executable from Apple script
  • Next by thread: Keystroke
  • Index(es):
    • Date
    • Thread