[Mono-list] Running a shell builtin from mono

Ian Norton ian.norton-badrul at thales-esecurity.com
Thu Feb 7 12:05:32 UTC 2013

On Thu, Feb 07, 2013 at 11:08:22AM +0000, Mathias Tausig wrote:
> Hy!
> I want to execute a shell builtin command from mono on a linux box. (To be 
> precise: I want to read the current umask with the 'umask' command). Using the 
> Process class doesn't work, since it looks for an actual command file to run.
> Is there a way to do this?

how about running "bash -c umask" and capturing the output?


More information about the Mono-list mailing list