Thanks Robert How to retrieve the output this process. and will this work with normal user account.?
Robert Jordan wrote: > > Bhushand wrote: >> Hello, >> >> I want to execute the linux command on remore machine using C# and mono. >> How >> can i achive this? > > using System.Diagnostics; > > .. > > Process.Start( > new ProcessStartInfo( > "/usr/bin/ssh", > "u...@host -c 'the linux command'" > ) > ); > > ;) > > Robert > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/mono%3A%3A-Remote-command-Execution-tp23402222p23419117.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
