-
Notifications
You must be signed in to change notification settings - Fork 0
A simple means of running a command on a pre-configured Windows machine, in Linux.
License
TheMohawkNinja/winrun
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
winrun is a simple way to run commands on a Windows machine from Linux and recieve the output. DEPENDENCIES Requires installation of winrun_svr on the Windows machine which must be running when you want to run a command (so best to have it run on startup/login). SYNTAX winrun [command] [-t [timeout]] [-v] command: The Windows command you want to run. make sure to wrap this in quotation marks if it contains spaces. -t: Specify timeout timeout: The number of seconds you want winrund to wait to recieve the next line of output before throwing a timeout error (default is 5 seconds) -v: Verbose mode INSTALLATION g++ compile lines are located at the first line of "winrun.cpp" and "winrund.cpp". Once compiled, copy the executables to /usr/bin Copy "winrund.service" to /etc/systemd/system and run "systemctl enable winrund" and if you want to start before reboot, then also run "systemctl start winrund" CONFIGURATION Copy the config file to "/etc/winrund/config" and edit acccordingly. winrund, the daemon program for handling the network traffic, should be started on login after winrun_svr. Logs are in journalctl. KNOWN ISSUES Some "non-standard" characters (i.e. the vertical and horizontal lines in the "tree" command) don't output properly and can cause a crash. Output that changes within a given line (i.e. the first part of a "systeminfo" command) will not output in the Linux terminal.
About
A simple means of running a command on a pre-configured Windows machine, in Linux.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published