When I run commands within cursor’s integrated terminal, the program name passed through the first command line arg, or argv[0] in C programs, is replaced with cursor-bin.AppImage.
Thanks for reporting this - definitely sounds like it could be related to the .AppImage format we use for Linux.
Would you be able to try running the same test app in VSCode to see what happens there? That would help us narrow down if it’s specifically related to how Cursor is handling argv[0]
For now, you can probably work around this by running lake commands in your system’s default terminal rather than Cursor’s integrated one while we investigate