Cmdexa

Cmdexa · Windows + ChatGPT

Check WSL distributions from ChatGPT on Windows

A Windows project may run scripts under Ubuntu or another WSL distribution. Cmdexa can help ChatGPT verify what is available on your authorized Windows PC before executing anything that depends on Linux tooling.

Windows PowerShell and WSL are different shells

A PowerShell working directory such as C:\Work\Project is not a Linux directory like /home/user/project. Bash quoting, environment variables and exit codes differ. Do not paste raw Bash into a PowerShell command and assume the same behavior.

First prompt: inspect installed distributions

Use Cmdexa on my paired Windows PC. Check whether wsl.exe is available and show the installed distribution names and states. Do not start, terminate, import, unregister or modify a distribution. If WSL is not installed or access is blocked, report that rather than setting it up automatically.

Before running a Linux command

Choose the exact distribution as reported on your computer, ask for a check that the required binary exists inside it, and give the Linux project directory explicitly. Where supported, use the dedicated WSL command transport; otherwise use a documented compatible path, without concealing changes in encoded commands. Reuse the original request identifier if a response is lost rather than dispatching uncertain work twice.

Keep it reversible

Commands such as package installs, database migrations or changes to distribution settings may affect Linux processes and data even though they are started from Windows. Request an explicit plan and local approvals for those actions. See local project tests, Docker diagnostics and PowerShell execution. Read privacy before sending command output to the AI provider.