protontricks icon indicating copy to clipboard operation
protontricks copied to clipboard

Unable to use the tasklist command

Open BrownNPC opened this issue 1 year ago • 1 comments

Describe the bug I cannot use the tasklist command with protontricks -c "tasklist"

To Reproduce Steps to reproduce the behavior:

  1. Run command protontricks -c "tasklist" <appid>
  2. Command fails and error is displayed

Expected behavior It should print the currently running processes.

System (please complete the following information):

  • Distro: Fedora 39
  • Protontricks installation method: Fedora repo using dnf
  • Protontricks version: 1.11.0

Additional context

The command is not found BUT, if you make a batch file with the command tasklist inside of it and then run it using protontricks-launch, then it runs.

BrownNPC avatar May 02 '24 21:05 BrownNPC

-c refers to a Linux command. If you want to run something in the Windows environment you need to use wine. There are additional instructions here.

In your case, you'd probably want to run protontricks -c "wine tasklist" <appid> instead.

Matoking avatar May 06 '24 16:05 Matoking