What format is DlvExec expecting arguments?
Opened this issue · 3 comments
thams commented
DlvExec ~/go/bin/acommand anargument
results in:
zsh:cd:1: no such file or directory: anargument
But any quoting of the command causes DlvExec to just split the buffer window.
thams commented
Ah, looks like correct is:
DlvExec ~/go/bin/acommand -- anargument
michaelbeaumont commented
I discovered that DlvExec
expects something like the following (using neovim) at the time of writing:
:DlvExec ./program . --\ subcommand\ subsubcommand
For its second argument it expects the directory to run in, for its second and final argument, it accepts one string. So you'll have to escape the space as needed.