I have heard you can write your own custom modules for webmin, and I thought that was very interesting. I want to try and write some webmin modules for SteamCMD, so that we have an open source Steam gameserver control panel. I think I understand the basic principle, but I am wondering how you would run a command in an existing running process. For example:
Say I clicked a button in webmin that starts the Half Life 2 DM server. The script runs, the server starts up, and everything works great. However, what if I need to run a command inside the running script, such as "quit" or something like that? How would I tell webmin to run that command INSIDE the script thats running instead of just typing "quit" at a normal Linux command prompt?