On Sun, Jan 3, 2016 at 1:18 PM, Thierry Goubier <thierry.goubier@gmail.com> wrote:
Le 03/01/2016 17:11, Alexandre Bergel a écrit :
That would be fantastic to have this fixed
Well, that or Mariano's solution :)
I think we will always need OSProcess around because that gives you a real access to everything since it's at plugin level and because it uses the bare metal of fork + exec combination :) With my solution, you may solve many easy cases, but for other cases, you will very much likely need OSProcess. BTW, I am trying your OSProcess git usage but I must finish a few things for that ;)
Thierry
Cheers,
Alexandre
On Jan 3, 2016, at 12:57 PM, Mariano Martinez Peck <marianopeck@gmail.com>
wrote:
On Sun, Jan 3, 2016 at 12:54 PM, Thierry Goubier < thierry.goubier@gmail.com> wrote: Le 03/01/2016 16:49, Mariano Martinez Peck a écrit : mmmm ok, I am giving it a try but it seems it's not working or... mostly likely, I am doing something wrong. I just created a repo via github web interface, then I clone it to my machine, and then I tried to add the gitfiletree repo in MC Browser, but I get an error in: #currentBranch because #gitBranchs answered an empty array. But the `git branch` command was really executed as I can see the output of it in the stdout of the VM. So I guess OSProcess stdout setting may be what is not working?
You're on Mac when you do that, right?
Yep.
OSProcess output redirection doesn't work in the latest Mac VM... my fault (introduced in the OSProcess plugin) :( but I have no idea why the fd dup / pipes work on Linux and not on Mac OS X.
OSProcess uses (as well as my prototype) dup2 rather than dup.
Thierry
Thanks in advance,
On Sun, Jan 3, 2016 at 12:01 PM, Mariano Martinez Peck <marianopeck@gmail.com <mailto:marianopeck@gmail.com>> wrote:
Hi Thierry,
I had some problems with OSProcess in 5.0 with Spur so I wonder what's the status with GitFileTree. Is it working with latest 5.0? I tried to search some tests to confirm this but I found none.
Thanks in advance,
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com