summaryrefslogtreecommitdiffstats
path: root/base/process_util.h
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 19:36:00 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 19:36:00 +0000
commitb74d21b3c259338797d1b722d74bae7fc540fb52 (patch)
tree1529161549875738034fdacc43404d8a7f3ecfb2 /base/process_util.h
parent045e7e9965552768c01c83d58b21a4c1f82fa4be (diff)
downloadchromium_src-b74d21b3c259338797d1b722d74bae7fc540fb52.zip
chromium_src-b74d21b3c259338797d1b722d74bae7fc540fb52.tar.gz
chromium_src-b74d21b3c259338797d1b722d74bae7fc540fb52.tar.bz2
Fix comment for posix LaunchApp wrt PATH searching.
(Behavior was changed in r4515 but the comment wasn't updated to match.) BUG=none TEST=none Review URL: http://codereview.chromium.org/159022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r--base/process_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/process_util.h b/base/process_util.h
index 706cf5f..f3e47fd 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -135,8 +135,8 @@ bool LaunchApp(const std::wstring& cmdline,
// As above, if wait is true, execute synchronously. The pid will be stored
// in process_handle if that pointer is non-null.
//
-// Note that the first argument in argv must point to the filename,
-// and must be fully specified.
+// Note that the first argument in argv must point to the executable filename.
+// If the filename is not fully specified, PATH will be searched.
typedef std::vector<std::pair<int, int> > file_handle_mapping_vector;
bool LaunchApp(const std::vector<std::string>& argv,
const file_handle_mapping_vector& fds_to_remap,