Quick Access To WSL
To open the Windows Subsystem Linux from the File Explorer enter the following in the address bar: \\wsl$ to open a specific Distro add it to the path, for example: \\wsl$\Debian
To open the Windows Subsystem Linux from the File Explorer enter the following in the address bar: \\wsl$ to open a specific Distro add it to the path, for example: \\wsl$\Debian
So it isn’t just Mac that is throwing up an error, also happening one linux. now i have managed to check the code on Debian it is clear something is wrong with the installation or calls in both. it seems to be related to QApplication, but i can’t be arsed to track it down any further. time for a rewrite using QWidget only.
Create a directory if it doesn’t exist: import os.path isdir = os.path.isdir(postpath) if not isdir: os.mkdir(postpath)
You can pause the execution of a shell script using read like this: read -t 5 -p "press any key to resume, will exit in 5 sec ..." The -t is the time in seconds and the -p is the pause followed by a message.