MonoDevelop on Linux - terminal commands

I want to make a C # application in Mono as it is the only programming language I am mostly comfortable with.

Anyway, the ATI drivers on Linux do not have a fan control feature and therefore the cards tend to get warm. For me, I prefer to have a colder card.

I want to execute a command like:

aticonfig --pplib-cmd 'set fanspeed 0 70'

      

In the app, but I have a thing ... How can I run this code to make it work, I am currently running Ubuntu 10.04 and it works in the terminal, but I want to implement it in the app.

thanks

+2


a source to share


1 answer


Without using Mono, I might be wrong, but I guess you could use System.Diagnostics.Process.Start

Perhaps something like this



System.Diagnostics.Process.Start("aticonfig", "--pplib-cmd 'set fanspeed 0 70'");

      

+7


a source







All Articles