Matoking / protontricks

A wrapper that does winetricks things for Proton enabled games, requires Winetricks.
GNU General Public License v3.0
1.64k stars 36 forks source link

Unable to use the tasklist command #295

Open BrownNPC opened 5 months ago

BrownNPC commented 5 months ago

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):

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.

Matoking commented 5 months ago

-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.