inkytonik / cooma

The Cooma project is investigating secure programming language design based on fine-grained object capabilities.
Mozilla Public License 2.0
3 stars 2 forks source link

Process execution capabilities #26

Closed inkytonik closed 2 years ago

inkytonik commented 3 years ago

The idea is to add a FileRunner capability that takes a file name. If the named file is executable then the program gets a capability with an operation to run the program giving it strings as arguments and get back (say) the output and an error code.

nhweston commented 3 years ago

Testing might be a bit of a problem here due to operating systems. How should we address this?

nhweston commented 3 years ago

Hmm, I think I may be able to get away with just a Batch script and a Shell script. Will need to find some way to check the OS. Still not an ideal solution I guess,