Closed
Description
I tried this code:
rust-gdbgui $my_executable
I expected to see this happen: gdbgui starts
Instead, this happened: (dash
) shell error
/home/eren/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rust-gdbgui: 58: -iex "add-auto-load-safe-path /home/eren/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/etc": not found
Meta
rustc --version --verbose
:
rustc 1.71.1 (eb26296b5 2023-08-03)
binary: rustc
commit-hash: eb26296b556cef10fb713a38f3d16b9886080f26
commit-date: 2023-08-03
host: x86_64-unknown-linux-gnu
release: 1.71.1
LLVM version: 16.0.5
The bug was introduced by commit 8dd0ec6, which closes a string before an escaped newline.
Backtrace
N/A