diff --git a/src/Codeception/Command/Run.php b/src/Codeception/Command/Run.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Command/Run.php
+++ b/src/Codeception/Command/Run.php
@@ -398,9 +398,15 @@ class Run extends Command
         $tokens = explode(' ', $request);
         foreach ($tokens as $token) {
             $token = preg_replace('~=.*~', '', $token); // strip = from options
+            
+            if (empty($token)) {
+                continue;
+            }
+            
             if ($token == '--') {
                 break; // there should be no options after ' -- ', only arguments
             }
+
             if (substr($token, 0, 2) === '--') {
                 $options[] = substr($token, 2);
             } elseif ($token[0] === '-') {
Fixed uninitialized string offset (#<I>)