darwin mc / shell solution

Yennie at aol.com Yennie at aol.com
Tue Feb 5 00:41:01 EST 2002


Hi all,

I checked in at the archives and didn't find this ever answered. And of 
course, today I needed it. For me, the gold nugget is in the shellCommand 
property:
Note that you don't need to be logged in as root or any of that jazz unless 
you try to execute a command with shell that is restricted to root only.

#!mc
on startup
  set the shellCommand to "/bin/tcsh"
  put "List me some files!"&return
  put shell("ls -l")
  put "Done."
end startup

Regards,
Brian



More information about the metacard mailing list