Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to execute linux command #743

Open
yyang1207 opened this issue Nov 14, 2023 · 1 comment
Open

how to execute linux command #743

yyang1207 opened this issue Nov 14, 2023 · 1 comment

Comments

@yyang1207
Copy link

i want to call some linux or window command,such as 'ls','netstat'

@MostHated
Copy link

Here is how I have been doing it. You can adjust the Execute method and remove the extra parts in there for kv. I had that so that it would include a key-value store I use to access data between different things.

A basic usage example can be seen in the second file.

https://gist.github.com/instance-id/5b85b1debf30cc9aea2f6731e25a3100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants