Lines Matching defs:command
77 bool Subprocess::Start(SubprocessSet* set, const string& command) {
110 // Do not prepend 'cmd /c' on Windows, this breaks command
112 if (!CreateProcessA(NULL, (char*)command.c_str(), NULL, NULL,
131 command.c_str());
133 // ERROR_INVALID_PARAMETER means the command line was formatted
134 // incorrectly. This can be caused by a command line being too long or
135 // leading whitespace in the command. Give extra context for this case.
137 if (command.length() > 0 && (command[0] == ' ' || command[0] == '\t'))
138 hint = "command contains leading whitespace";
140 hint = "is the command line too long?";
241 Subprocess *SubprocessSet::Add(const string& command, bool use_console) {
243 if (!subprocess->Start(this, command)) {