[PD] question about echo and shell

2011-09-11 Thread philippe boisnard
Hello 

I want to use this expression with [shell]
[echo patatiptata | tee -a 
/Applications/puredata/32-espacedeportation/test.txt

no result ? 

when I try with terminal no problem.
why echo doesn't fonction with shell ? 

p

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] question about echo and shell

2011-09-11 Thread philippe boisnard
Yop

ok for Ubuntu, but I m on OSX

who can try on OSX ?

thx

p

Le 11 sept. 2011 à 09:28, Ingo a écrit :

 I had it working on Ubuntu before.
 
 Ingo
 
 
 -Ursprüngliche Nachricht-
 Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag von
 philippe boisnard
 Gesendet: Sonntag, 11. September 2011 09:14
 An: Pd List
 Betreff: [PD] question about echo and shell
 
 Hello
 
 I want to use this expression with [shell]
 [echo patatiptata | tee -a /Applications/puredata/32-
 espacedeportation/test.txt
 
 no result ?
 
 when I try with terminal no problem.
 why echo doesn't fonction with shell ?
 
 p
 
 


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] question about echo and shell

2011-09-11 Thread Pedro Lopes
I usually go for [system] for simple shell related things and it works with
echo perfectly (but once again its in ubuntu).

On Sun, Sep 11, 2011 at 8:31 AM, philippe boisnard philem...@mac.comwrote:

 Yop

 ok for Ubuntu, but I m on OSX

 who can try on OSX ?

 thx

 p

 Le 11 sept. 2011 à 09:28, Ingo a écrit :

  I had it working on Ubuntu before.
 
  Ingo
 
 
  -Ursprüngliche Nachricht-
  Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag
 von
  philippe boisnard
  Gesendet: Sonntag, 11. September 2011 09:14
  An: Pd List
  Betreff: [PD] question about echo and shell
 
  Hello
 
  I want to use this expression with [shell]
  [echo patatiptata | tee -a /Applications/puredata/32-
  espacedeportation/test.txt
 
  no result ?
 
  when I try with terminal no problem.
  why echo doesn't fonction with shell ?
 
  p
 
 


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list




-- 
Pedro Lopes (HCI Researcher / MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes /
http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] question about echo and shell

2011-09-11 Thread Mathieu Bouchard

On Sun, 11 Sep 2011, Pedro Lopes wrote:

I usually go for [system] for simple shell related things and it works 
with echo perfectly (but once again its in ubuntu). 


In theory, there is not any difference between OSX and GNU/Linux for 
[shell] and [system] and some more. They both have system(), popen(), 
fork(), exec(), and /bin/bash (except very old OSX).


It's usually when trying with the other OSes that things can go wrong. 
Windows needs different code for doing this, and has a different shell. 
Apple iOS would be like OSX but it disables those functions completely. 
Android can have /bin/bash but it's not there by default, and its libc is 
different.


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] question about echo and shell

2011-09-11 Thread Hans-Christoph Steiner


On Sep 11, 2011, at 12:20 PM, Mathieu Bouchard wrote:


On Sun, 11 Sep 2011, Pedro Lopes wrote:

I usually go for [system] for simple shell related things and it  
works with echo perfectly (but once again its in ubuntu).


In theory, there is not any difference between OSX and GNU/Linux for  
[shell] and [system] and some more. They both have system(),  
popen(), fork(), exec(), and /bin/bash (except very old OSX).


It's usually when trying with the other OSes that things can go  
wrong. Windows needs different code for doing this, and has a  
different shell. Apple iOS would be like OSX but it disables those  
functions completely. Android can have /bin/bash but it's not there  
by default, and its libc is different.





In practice, [shell], [system], and [popen] the objects work quite a  
bit differently.


.hc




If you are not part of the solution, you are part of the problem.



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list