![]() import subprocessįrom here in the python console you are able to type whatever command. I do need the information stored so if needed it can be accessed by someone who can make use of the information. It would then store that information for the rest of the applications use possibly never showing the information to the user as it is expected they will not understand nor will they know what to do with the information. no internet check the nic via "ping ::1" <- in cmd(but without the cmd console showing up or rather the user needing to do anything (beyond the prompts) and seeing as little as possible). The goal I am aiming for is to have buttons a user will click that based on the gathered information will run a code i.e. So what I've been able to get subprocess to do is allow the command(s) to be written without the cmd console however, it's just using the python console. In some cases you might prefer to do something else while you are waiting - effectively running the process in the background. The closest I've come so far is using subprocess which as far as I can tell won't work. subprocess in the background subprocess in the background In the previous examples we ran the external command and then waited till it finishes before doing anything else. ![]() Okay so I'm working to get cmd prompt to run code without the user noticing most likely will be creating a list of prompts that determine which command is run. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |