Add real_path option to LaunchProcess

When specified, real_path will be used as the location of the executable
to launch instead of argv[0]. This is useful when a custom argv[0] must
be specified.

This is needed by Chrome Remote desktop to start a login shell, which
requires invoking the shell with an argv[0] starting with a '-'
character (e.g., "-bash").

Review-Url: https://codereview.chromium.org/2338133005
Cr-Commit-Position: refs/heads/master@{#422457}


CrOS-Libchrome-Original-Commit: 732f03d294cead0635f02d24a3fa656416f58c25
2 files changed
tree: 89587a69749364c042a663084e273b1239e5d8f5
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/