[Mono-list] Working with Files

Adam Tauno Williams adam at morrison-ind.com
Thu Jun 15 13:26:07 EDT 2006


> Actually, now that I think of it, there are some specific questions I'd like
> to query as well:
> 1. Is there a command/class in mono that I can use to invoke specific
> applications on the local linux box? 

System.Diagnostics.Process

>  I only want to invoke specific
> applications such as the sox app I referred to in my first post or restart
> the linux box.  LOL, I will not be giving clients carte blanche on executing
> *any* application on the linux box.

Hey, secure or not-secure or completely brain-dead is your problem. :)

> 2. In copying or moving files in mono/linux, is it the same as with
> .net/windows with the exception of the linux/windows differences in
> specifying paths?

Nope, just about everything in System.IO.File works without incident.
I've done all the normal file operations and haven't had any problems.



More information about the Mono-list mailing list