All you need is:

using System.Runtime.InteropServices;

this is in Mscorlib.dll so you don't need to specify an Assembly;

> Hello,
>
> I'd like to know what library I need to use in the DllImport attribute to
> invoke system();  I need to run a shell script/program from within my Mono
> program and need the equivalent of system();
>
> Thanks
>
> Krishna
>
>
> _______________________________________________
> Mono-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to