On Thu, 2016-12-01 at 11:37 +0100, Jack wrote:
> Le 01/12/2016 à 11:30, Roman Haefeli a écrit :
> > 
> > On Thu, 2016-12-01 at 11:09 +0100, Jack wrote:
> > > 
> > > Hello Roman,
> > > 
> > > Did you try :
> > > 
> > > [command & echo $!(
> > > > 
> > > > 
> > > > 
> > > [shell]
> > > 
> > > It will return the pid of 'command'.
> > Yes, you're right: It's not even necessary to put that into an
> > extra
> > script (I thought I had to because of the dollar sign).
> > 
> > However, the problem remains: When I send 'command' to background,
> > [shell] won't output its stdout to the left outlet anymore.
> Hmm, weird, did you get something with ? :
> (start Pd from a directory where there are files and directories).
> 
> [ls & echo $!(
> > 
> > 
> [shell]

Yes, that works for me, too. But it's not a good example, since ls is a
one shot command and exits immediately.

Try this:

[ping netpd.org & echo $!(

The actual command I'm interested to work with is 'jacktrip'.

Roman

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to