Home Download Buy Blog Forum Support

Add a Folder to Sidebar via API?

Re: Add a Folder to Sidebar via API?

Postby sublimator on Fri Feb 10, 2012 2:36 pm

sys.executable didn't work on linux on my ubuntu 10.04 vm at least

it just returned an empty string
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 648
Joined: Thu Mar 20, 2008 5:41 am

Re: Add a Folder to Sidebar via API?

Postby wbond on Fri Feb 10, 2012 2:43 pm

castles_made_of_sand wrote:sys.executable didn't work on linux on my ubuntu 10.04 vm at least

it just returned an empty string


I was wondering why you had talked about reading /proc for Linux. :) It worked for me, but clearly it is not consistent across different distros.
wbond
 
Posts: 493
Joined: Mon Feb 28, 2011 5:33 am

Re: Add a Folder to Sidebar via API?

Postby sublimator on Fri Feb 10, 2012 2:49 pm

Odd eh? Apparently /proc is only on linux. There's no real equivalent on OSX. Not even a generic *nix thing. I'm a windows loser. Don't really know shit about osx and only a little of linux.

Might be some ctypes hack for OSX? Jon would know. For that 1 guy who walked under a ladder taking his black cat to the vet after installing to a non default location. Actually, fuck that guy, he brought it on himself!
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 648
Joined: Thu Mar 20, 2008 5:41 am

Previous

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 5 guests