Cursor failing to execute long commands

Request id: edec54c9-e500-4f9f-9715-c16a91a94121

:white_check_mark: Check the forum to ensure the issue hasn’t been reported already - Done
Closest I could find is this

:lady_beetle: Provide a clear description of the bug
When a terminal command exceeds a certain character length, it appears that Cursor fails to execute the command at all. Shorter commands appear to execute without issue

:counterclockwise_arrows_button: Explain how to reproduce the bug (if known)

  1. Open the agent mode within Cursor.
  2. Execute a short command, for example: ls -la. Observe that it runs correctly.
  3. Execute a significantly longer command, for example, one that chains multiple commands or has very long arguments (like echo "This is an extremely long command that will likely exceed Cursor's command length limitation and demonstrate that commands beyond a certain character count will not be properly executed by the terminal interface in this environment. Let's see what happens."). Observe that the command’s output is never visible even when popped out.
    :camera: Attach screenshots or recordings (e.g., .jpg, .png, .mp4).

:laptop: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).
Windows 0.48.8 (remoting into a linux environment) but the issue has been present for at least a month or two

:prohibited: Tell us if the issue stops you from using Cursor.
Yes, sometimes it goes away on its own, but I’ve recently been thinking of switching to Windsurf just to get around the issue