browser-system: Use execv() directly instead of os_exec()
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 21 Oct 2014 09:59:47 +0000 (12:59 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 21 Oct 2014 20:32:17 +0000 (23:32 +0300)
commit22444bb2467ceeabe48c12b75ef2f6168a089b8c
treea3009c007f9dd6532984e0618c898c3d570741b4
parent4181c3964d7f90f487ef4a2dc916048e539ba5a1
browser-system: Use execv() directly instead of os_exec()

This allows the URL to be passed as a single argument to the program
instead of getting split into multiple by os_exec(). This makes the
operation more robust for cases where the URL could have been received
from an external source and could potentially add extra arguments to the
command line.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/utils/browser-system.c