The EXE tag can be empty. Unfortunately, the launchpad does not check
whether the exe is empty or not. This patch adds the empty check before
inserting the exe path to the vector.
Change-Id: I2f86449d24364f3a805ed026020c4e14459c9a23
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
ParseAndSetEnvironment(b, extra_env);
debug_argv_ = debugger_info_->GetDefaultOptList();
- debug_argv_.insert(debug_argv_.begin(), debugger_info_->GetExe());
+ if (!debugger_info_->GetExe().empty())
+ debug_argv_.insert(debug_argv_.begin(), debugger_info_->GetExe());
+
for (const auto& extra_key : debugger_info_->GetExtraKeyList())
ParseAndAddArgv(b, extra_key);