bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34490] -[NSWorkspace open*] native system integration


From: julian
Subject: [bug #34490] -[NSWorkspace open*] native system integration
Date: Wed, 05 Oct 2011 23:30:20 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50

Follow-up Comment #3, bug #34490 (project gnustep):

>GWorkspace

i don't think these APIs should depend on GWorkspace (i don't have it) and the
idea of having to wrap any linux app in existence ...  sounds not so bright.


>a. not work on any system without xdg-open 

AFAIK all linux distributions in the last few years have shipped it, and even
if it isn't there .. is just a fallback

>b. will prevent the code building on mswindows (no system function) 

an ifdef will fix that - there is no xdg-open on windows anyway.

> NSTask

i don't see a value in using a more complicated and problematic API in order
to ensure portability to a platform where xdg-open doesn't run anyway. i'm
sure windows has some native APIs to open file and URLs and this can be added
as an #else later on

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34490>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]