Running a source command before launching main command

Mahmood Naderan mahmood.nt at
Thu Jul 29 14:54:32 BST 2021

OK it seems that "source && kdevelop" from shell will be fine.
Reference: Stackoverflow

Thanks for the hints.


On Thu, Jul 29, 2021 at 12:27 PM René J.V. Bertin <rjvbertin at>

> On Thursday July 29 2021 11:10:21 Mahmood Naderan wrote:
> >So, If I follow that, how can I specify the program's argument list?
> >Because the wrapper takes one argument and that is the program's binary.
> I showed how to pass on the arguments in a wrapper script:
> BINARY="$1"
> shift
> exec ${BINARY} "$@"
> Enter that exactly as written ($@ between double quotes) and your binary
> will see the arguments as if you started it from the command line.
> >Meanwhile I will try to see if I can attach gdb from a console with a PID.
> You can also attach a debugger (gdb or lldb) to a running process from
> with KDevelop, if you want to use a graphical debugger.
> R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop mailing list