File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -262,13 +262,17 @@ public void Start()
262
262
return ;
263
263
}
264
264
265
- if ( this . driverServicePath == null )
265
+ this . driverServiceProcess = new Process ( ) ;
266
+
267
+ if ( this . driverServicePath != null )
266
268
{
267
- DriverFinder . FullPath ( this . GetDefaultDriverOptions ( ) ) ;
269
+ this . driverServiceProcess . StartInfo . FileName = Path . Combine ( this . driverServicePath , this . driverServiceExecutableName ) ;
270
+ }
271
+ else
272
+ {
273
+ this . driverServiceProcess . StartInfo . FileName = DriverFinder . FullPath ( this . GetDefaultDriverOptions ( ) ) ;
268
274
}
269
275
270
- this . driverServiceProcess = new Process ( ) ;
271
- this . driverServiceProcess . StartInfo . FileName = Path . Combine ( this . driverServicePath , this . driverServiceExecutableName ) ;
272
276
this . driverServiceProcess . StartInfo . Arguments = this . CommandLineArguments ;
273
277
this . driverServiceProcess . StartInfo . UseShellExecute = false ;
274
278
this . driverServiceProcess . StartInfo . CreateNoWindow = this . hideCommandPromptWindow ;
You can’t perform that action at this time.
0 commit comments