public UInt32 ExecuteAndInject(string app, string workingDir, string cmdLine, EnvironmentModification[] env, string logfile, CaptureOptions opts) { if (m_Remote == null) { return(StaticExports.ExecuteAndInject(app, workingDir, cmdLine, env, logfile, opts)); } else { return(m_Remote.ExecuteAndInject(app, workingDir, cmdLine, env, opts)); } }