From 4aa4038e270c33e36ba2f8db866db3c6abec6222 Mon Sep 17 00:00:00 2001 From: tumbili Date: Wed, 3 Jun 2015 18:58:58 +0200 Subject: [PATCH] increase number of arguments passable to apps --- src/platforms/posix/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platforms/posix/main.cpp b/src/platforms/posix/main.cpp index f756749d52..475fa3e812 100644 --- a/src/platforms/posix/main.cpp +++ b/src/platforms/posix/main.cpp @@ -79,9 +79,9 @@ static void run_cmd(const vector &appargs) { static void process_line(string &line) { - vector appargs(5); + vector appargs(8); - stringstream(line) >> appargs[0] >> appargs[1] >> appargs[2] >> appargs[3] >> appargs[4]; + stringstream(line) >> appargs[0] >> appargs[1] >> appargs[2] >> appargs[3] >> appargs[4] >> appargs[5] >> appargs[6] >> appargs[7]; run_cmd(appargs); }