Simple question about OSProcess

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Simple question about OSProcess

abergel
Hi!

Time to time, the command "OSProcess waitForCommand: string” blocks. I have no idea why. A manually checks shows that the command has completed.
Any idea why?

I use OSX.

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply | Threaded
Open this post in threaded view
|

Re: Simple question about OSProcess

Thierry Goubier


2015-09-29 14:13 GMT+02:00 Alexandre Bergel <[hidden email]>:
Hi!

Time to time, the command "OSProcess waitForCommand: string” blocks. I have no idea why. A manually checks shows that the command has completed.
Any idea why?

Can we know which commands you are using this way?

Thierry
 

I use OSX.

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





Reply | Threaded
Open this post in threaded view
|

Re: Simple question about OSProcess

abergel
Yes, this one:

OSProcess command: 'cd /Users/alexandrebergel/Downloads/Work/test1 && /usr/bin/git push’

Maybe the use of && ?

Alexandre

> On Sep 29, 2015, at 2:18 PM, Thierry Goubier <[hidden email]> wrote:
>
>
>
> 2015-09-29 14:13 GMT+02:00 Alexandre Bergel <[hidden email]>:
> Hi!
>
> Time to time, the command "OSProcess waitForCommand: string” blocks. I have no idea why. A manually checks shows that the command has completed.
> Any idea why?
>
> Can we know which commands you are using this way?
>
> Thierry
>  
>
> I use OSX.
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply | Threaded
Open this post in threaded view
|

Re: Simple question about OSProcess

Thierry Goubier


2015-09-29 14:21 GMT+02:00 Alexandre Bergel <[hidden email]>:
Yes, this one:

OSProcess command: 'cd /Users/alexandrebergel/Downloads/Work/test1 && /usr/bin/git push’

Maybe the use of && ?

I'm not sure; I think its just related to the fact the git push returns after a certain time, while the process waiting for the command does not notice it (well, OSProcess whould work even with && anyway).

Which vm are you using?

Thierry
 

Alexandre

> On Sep 29, 2015, at 2:18 PM, Thierry Goubier <[hidden email]> wrote:
>
>
>
> 2015-09-29 14:13 GMT+02:00 Alexandre Bergel <[hidden email]>:
> Hi!
>
> Time to time, the command "OSProcess waitForCommand: string” blocks. I have no idea why. A manually checks shows that the command has completed.
> Any idea why?
>
> Can we know which commands you are using this way?
>
> Thierry
>
>
> I use OSX.
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





Reply | Threaded
Open this post in threaded view
|

Re: Simple question about OSProcess

abergel
I am apparently using Pharo VM 6.0-pre

Alexandre


> On Sep 29, 2015, at 2:28 PM, Thierry Goubier <[hidden email]> wrote:
>
>
>
> 2015-09-29 14:21 GMT+02:00 Alexandre Bergel <[hidden email]>:
> Yes, this one:
>
> OSProcess command: 'cd /Users/alexandrebergel/Downloads/Work/test1 && /usr/bin/git push’
>
> Maybe the use of && ?
>
> I'm not sure; I think its just related to the fact the git push returns after a certain time, while the process waiting for the command does not notice it (well, OSProcess whould work even with && anyway).
>
> Which vm are you using?
>
> Thierry
>  
>
> Alexandre
>
> > On Sep 29, 2015, at 2:18 PM, Thierry Goubier <[hidden email]> wrote:
> >
> >
> >
> > 2015-09-29 14:13 GMT+02:00 Alexandre Bergel <[hidden email]>:
> > Hi!
> >
> > Time to time, the command "OSProcess waitForCommand: string” blocks. I have no idea why. A manually checks shows that the command has completed.
> > Any idea why?
> >
> > Can we know which commands you are using this way?
> >
> > Thierry
> >
> >
> > I use OSX.
> >
> > Alexandre
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply | Threaded
Open this post in threaded view
|

Re: Simple question about OSProcess

Thierry Goubier
Anybody on OS X to relate that to either vm or vmLatest ?

Thierry

2015-09-29 14:32 GMT+02:00 Alexandre Bergel <[hidden email]>:
I am apparently using Pharo VM 6.0-pre

Alexandre


> On Sep 29, 2015, at 2:28 PM, Thierry Goubier <[hidden email]> wrote:
>
>
>
> 2015-09-29 14:21 GMT+02:00 Alexandre Bergel <[hidden email]>:
> Yes, this one:
>
> OSProcess command: 'cd /Users/alexandrebergel/Downloads/Work/test1 && /usr/bin/git push’
>
> Maybe the use of && ?
>
> I'm not sure; I think its just related to the fact the git push returns after a certain time, while the process waiting for the command does not notice it (well, OSProcess whould work even with && anyway).
>
> Which vm are you using?
>
> Thierry
>
>
> Alexandre
>
> > On Sep 29, 2015, at 2:18 PM, Thierry Goubier <[hidden email]> wrote:
> >
> >
> >
> > 2015-09-29 14:13 GMT+02:00 Alexandre Bergel <[hidden email]>:
> > Hi!
> >
> > Time to time, the command "OSProcess waitForCommand: string” blocks. I have no idea why. A manually checks shows that the command has completed.
> > Any idea why?
> >
> > Can we know which commands you are using this way?
> >
> > Thierry
> >
> >
> > I use OSX.
> >
> > Alexandre
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





Reply | Threaded
Open this post in threaded view
|

Re: Simple question about OSProcess

abergel
Sorry, I used #waitForCommand: and not #command:

Alexandre

> On Sep 29, 2015, at 2:39 PM, Thierry Goubier <[hidden email]> wrote:
>
> Anybody on OS X to relate that to either vm or vmLatest ?
>
> Thierry
>
> 2015-09-29 14:32 GMT+02:00 Alexandre Bergel <[hidden email]>:
> I am apparently using Pharo VM 6.0-pre
>
> Alexandre
>
>
> > On Sep 29, 2015, at 2:28 PM, Thierry Goubier <[hidden email]> wrote:
> >
> >
> >
> > 2015-09-29 14:21 GMT+02:00 Alexandre Bergel <[hidden email]>:
> > Yes, this one:
> >
> > OSProcess command: 'cd /Users/alexandrebergel/Downloads/Work/test1 && /usr/bin/git push’
> >
> > Maybe the use of && ?
> >
> > I'm not sure; I think its just related to the fact the git push returns after a certain time, while the process waiting for the command does not notice it (well, OSProcess whould work even with && anyway).
> >
> > Which vm are you using?
> >
> > Thierry
> >
> >
> > Alexandre
> >
> > > On Sep 29, 2015, at 2:18 PM, Thierry Goubier <[hidden email]> wrote:
> > >
> > >
> > >
> > > 2015-09-29 14:13 GMT+02:00 Alexandre Bergel <[hidden email]>:
> > > Hi!
> > >
> > > Time to time, the command "OSProcess waitForCommand: string” blocks. I have no idea why. A manually checks shows that the command has completed.
> > > Any idea why?
> > >
> > > Can we know which commands you are using this way?
> > >
> > > Thierry
> > >
> > >
> > > I use OSX.
> > >
> > > Alexandre
> > > --
> > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > > Alexandre Bergel  http://www.bergel.eu
> > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > Alexandre Bergel  http://www.bergel.eu
> > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> >
> >
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.