Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Error on launch with /TASK: "The syntax of the command is incorrect" #2835

Open
4 tasks done
notastudio opened this issue Apr 4, 2023 · 3 comments
Open
4 tasks done

Comments

@notastudio
Copy link

Version Information

Cmder version: 1.3.20.151
ConEmu version: 22.12.18.0
Operating system: Windows 10 22H2

Cmder Edition

Cmder Mini

Description of the issue

When running cmder.exe /TASK "{Cmder::Cmder}" or cmder.exe /task "{Cmder::Cmder as Admin}", "The syntax of the command is incorrect" is shown in the newly-spawned console window. The error message is followed by a cmd.exe-style prompt (not the Cmder-style one with a lambda symbol) and features like shell history search are unusable.
I didn't edit these two tasks. Running these tasks using the "+" button is ok.

How to reproduce

  1. open a terminal
  2. navigate to the directory where Cmder placed
  3. run cmder.exe /TASK "{Cmder::Cmder}" or cmder.exe /task "{Cmder::Cmder as Admin}"

Additional context

image

Checklist

  • I have read the documentation.
  • I have searched for similar issues and found none that describe my issue.
  • I have reproduced the issue on the latest version of Cmder.
  • I am certain my issues are not related to ConEmu, Clink, or other third-party tools that Cmder uses.
@chrisant996
Copy link
Contributor

This might be a duplicate of #2820, due to the cmder.exe launcher specifying conemu arguments in the wrong order.

@DRSDavidSoft
Copy link
Contributor

@chrisant996 Thanks for the investigation, I'll apply the fix soon

@svezr
Copy link

svezr commented May 12, 2023

I found that this issue was fixed in 1.3.21. I downloaded this version from download page, but if I try to start Cmder as topicstarter did I see the same error. I checked the version in the archive (just downloaded from
https://github.com/cmderdev/cmder/releases/download/v1.3.21/cmder.zip ) in windows file properties - it's 1.3.20.151

And I do not know - if the error is not fixed. Or version in the archive was not updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants