protonscr

SteamCmd `workshop_download_item` error does not exit despite `@ShutdownOnFailedCommand 1`

steamopen SteamCMD
ValveSoftware/steam-for-linux#12339 · opened 2025-09-22 by MatthiasKunnen · updated 2026-05-30 · 1 comments · github
MMatthiasKunnen 2025-09-22 github

Your system information

  • SteamCmd version: 1757650979
  • Distribution: Arch linux
  • Have you checked for system updates?: Yes
  • GPU: N/A

Please describe your issue in as much detail as possible:

When running SteamCmd with @ShutdownOnFailedCommand 1, a failed workshop_download_item does not cause steamcmd to exit as it should.

download_item, on the other hand, does exit on failure but it downloads to an inconvenient location making it hard to use.

Steps for reproducing this issue:

Steam>force_install_dir /var/lib/steamgames/workshop

Steam>@ShutdownOnFailedCommand 1
"@ShutdownOnFailedCommand" = "1"

Steam>login anonymous

Steam>workshop_download_item 107410 1439605692
Downloading item 1439605692 ...
ERROR! Download item 1439605692 failed (No Connection).
Steam>
MMatthiasKunnen 2026-05-30 github

This also occurs in this case:

workshop_download_item 108600 2930348946
Downloading item 2930348946 ...
ERROR! Download item 2930348946 failed (Failure).

Nothing extracted yet.