Is there any way to execute a linux shell command from within an ASP.NET Core application and return the value into a variable?
Asked
Active
Viewed 3,355 times
1 Answers
2
Best possibility currently seems to be to use the prerelease of SSH.Net.Core
https://www.nuget.org/packages/SSH.Net.Core/0.9.1-rc

Ivan Sieder
- 934
- 1
- 10
- 24
-
1that presumes that you want to run it on some other machine than the one where you are running the ASP.NET Core application. :) This is not obvious from the question, even though it's a fairly reasonably assumption. – Per Lundberg Jan 21 '17 at 12:46