You should be implementing the launching in your Host layer one time:
static Error
Host::LaunchProcess (ProcessLaunchInfo &launch_info);
Then you should be using this in your ProcessPluginWindows plug-in.
> On Aug 8, 2014, at 5:14 PM, Zachary Turner <[email protected]> wrote:
>
> Why are there different code paths for launching a process through these two
> methods? Shouldn't there just be one codepath for launching a process?
>
> I've implemented a very primitive process launch for Windows in
> ProcessPluginWindows::DoLaunch, but now I'm running into cases where tests
> are failing because Host::LaunchProcess isn't implemented yet on Windows.
> What do I need to understand about the differences between these two
> codepaths to make sure I implement the two correctly? And is there perhaps a
> way to refactor some of this code so that all of the process-spawning code
> lives in the same place, and the launch args are flexible enough to support
> all of the different use cases?
> _______________________________________________
> lldb-dev mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev