Does anyone have or know of a working shell object for Windows? I suspect it requires minGW to compile and that or Cygwin to run. I have the latter, but no minGW setup.
Thanks cgc
On Thu Feb 02, 2006 at 03:15:53PM -0600, chris clepper wrote:
Does anyone have or know of a working shell object for Windows? I suspect it requires minGW to compile and that or Cygwin to run. I have the latter,
the normal [shell] object might work in cygwin - give it a try. [popen] works on normal windows, and its no problem to call bash from it if you dont like cmd...
but no minGW setup.
Thanks cgc
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Forgive my ignorance, but how do i get popen to execute in Cygwin? The help mentions 'add bash -c' but I can't get that to do anything. The usual DOS commands execute, but those are of limited use.
thanks cgc
On 2/2/06, cdr ix@replic.net wrote:
On Thu Feb 02, 2006 at 03:15:53PM -0600, chris clepper wrote:
Does anyone have or know of a working shell object for Windows? I
suspect
it requires minGW to compile and that or Cygwin to run. I have the
latter,
the normal [shell] object might work in cygwin - give it a try. [popen] works on normal windows, and its no problem to call bash from it if you dont like cmd...
but no minGW setup.
Thanks cgc
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Thu Feb 02, 2006 at 04:07:23PM -0600, chris clepper wrote:
Forgive my ignorance, but how do i get popen to execute in Cygwin?
to use the real [shell] object, your entire pd would need to be running inside cygwin, compiled with DUNIX and [shell] linked to that, etc. probably not worth the hassle. the main thing [shell] offers over [popen] is it doenst block the execution of PD while stuff is running..
The help mentions 'add bash -c' but I can't get that to do anything. The usual DOS commands execute, but those are of limited use.
go to start -> control panel -> system -> advanced -> environment -> PATH and add a path to bash.exe on the end. then it should work...ive only used minGW's bash but cygwin's might work too ..
I don't think it compiles with MinGW. Check the Pd-extended installer,
if its not there, then it doesn't compile with MinGW.
.hc
On Feb 2, 2006, at 4:15 PM, chris clepper wrote:
Does anyone have or know of a working shell object for Windows? I
suspect it requires minGW to compile and that or Cygwin to run. I
have the latter, but no minGW setup.Thanks cgc _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
"I have the audacity to believe that peoples everywhere can have three
meals a day for their bodies, education and culture for their minds,
and dignity, equality and freedom for their spirits."
- Martin Luther King, Jr.
On 2/2/06, Hans-Christoph Steiner hans@eds.org wrote:
I don't think it compiles with MinGW. Check the Pd-extended installer, if its not there, then it doesn't compile with MinGW.
[shell] throws an error about shell_setup()
I could have sworn I used this object with cygwin on windows, but maybe not.
On Feb 2, 2006, at 11:10 PM, chris clepper wrote:
On 2/2/06, Hans-Christoph Steiner hans@eds.org wrote:
I don't think it compiles with MinGW. Check the Pd-extended
installer, if its not there, then it doesn't compile with MinGW.[shell] throws an error about shell_setup()
I could have sworn I used this object with cygwin on windows, but
maybe not.
IIRC, the [shell] code is capped by an "#ifndef _WIN32" currently, so
there is a shell.dll, but its empty, hence the error.
AFAIK, no one has gotten [shell] working on Windows in any way. Plus
now that I think about it, MinGW won't work either. I am pretty sure
that [shell] needs a POSIX environment, MinGW is not POSIX, Cygwin is
tho.
.hc
"Looking at things from a more basic level, you can come up with a more
direct solution... It may sound small in theory, but it in practice, it
can change entire economies."
- Amy Smith