imp
A helper to use native systemd support under WSL (Windows Subsystem for Linux). tldr-pages
On Linux
Linux
A helper to use native systemd support under WSL (Windows Subsystem for Linux). Note: To run these from Windows rather than an already-running distribution, precede them with wsl.
Initialize the helper functions and keep WSL running until explicit shutdown (run once, at start)
imp --initializeIdentifyRun a shell inside a systemd user session
imp --shellIdentifyRun a specified command inside a systemd user session (preserves working directory)
imp --command commandIdentifyShut down systemd and the WSL instance
imp --shutdownIdentify