Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Mac Client  (Read 11264 times)
Gregory S.
Posts: 13


« on: March 24, 2009, 09:16:01 pm »

Hello,

I was wondering if anyone had tried using fgl_putfile() and the shellexec frontend function on Mac OSX?

Thanks,

Greg
.
Four Js
Posts: 115


« Reply #1 on: March 25, 2009, 08:26:19 am »

Hi Greg,
What GDC version are you using ?

file transfer (put/getfile) is expected to work the same way as on the linux version (you've to be sure GDC is allowed to write where you put the file) ; the current directory is the real binary executable, i.e. inside gdc.app bundle (from memory, gdc.app/Contents/MacOS/)

For ShellExec, we're basically calling "open". So the command you pass to GDC should work when doing "open myCommand" in a terminal.
You just have to know that:
- the syntax accepted by "open" depends on OSX version: we've for instance noticed that open mailto:.... needs to be urlencoded in 10.4 (replace space with %20) while it works correctly without in 10.5
- we don't start a shell, so you've sometimes to fight with quotes.

Hope this helps,
Regards,
Pierre-Nicolas
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines