Thanks for your help. We've received your bug report.

Bill Orcutt’s shell object: execute shell commands via this excellent Max object

Mac OSX (Intel, Fat 32/64-bit) + source code (for Max 6.1.0 and newer)
(last update: 13 March 2013)

old PPC/Intel 32-bit Universal Binary version remains available (for Max 6.0.x and older)
(last update: 15 August 2006)

shell

Dec 29, 2010 at 4:54pm

I was curious about this. Does this shell object allow me to interact with the terminal shell (the way pd shell does)?

#263298
Jul 11, 2013 at 11:43am

sadly, “top” doesn’t work (anymore?) for the shell-external. Bug? Feature? ;)

#263299
Jul 15, 2013 at 1:46am

Quickly examining the code after an absence of many years and with fresh eyes, it looks to me like this object needs some serious love. I’ll try to find some time to do a major rewrite in the coming weeks. ‘top’ is a special case because it’s an interactive command and not a simple “read” operation. But using some of the advanced technologies in the uci chess object, in particular pseudoterminals, it should be possible to support that and more. Let’s see how it goes.

#263300
Jul 31, 2013 at 10:59am

killall also doesn’t work

#263301
Jul 31, 2013 at 12:08pm

seems that if i open ssh pi@192.168.1.85 “omxplayer /home/pi/Desktop/pd_player/error/error3.mov” for example then any other message wont work while clip is playing.. not only ssh -l pi 192.168.1.85 “killall omxplayer.bin”

do i do something coplitely wrong here?

#263302
Jul 31, 2013 at 12:10pm

I’m sure this is the result of the general oldness and semi-awkwardness of some of this code. When I get a chance for a rewrite, I’ll post in the forum. Thanks!

#263303
Jul 31, 2013 at 12:49pm

thanks… but seems that problem is between my ears.. if i open this command in terminal.. even then i cant kill it from the same window..
is there option to open 2 shell objects like 2 different terminal windows?

#263304
Jul 31, 2013 at 12:51pm

Well… you could have 2 copies of the shell object. Or… you could put an ‘&’ at the end of your command to put it into the background on launch. Then shell won’t block for the next command. In theory, not tested.

#263305
Jul 31, 2013 at 12:55pm

like in terminal.. there is this ttys002 and ttys001 system..

#263306
Aug 2, 2013 at 2:36am

& didn’t work in practice.. but i did script where i ssh-d the player, waited a sec and killall ssh.. after that you can stop the movie! works!! keep up good work!

#263307
Aug 12, 2013 at 7:27am
#263308

You must be logged in to reply to this topic.