Lines Matching defs:command
39 static OHOS::JsSysModule::Process::ChildProcess RunCommand(napi_env env, napi_value command, napi_value options)
45 objectInfo.Spawn(env, command);
108 std::string command("ls; sleep 1");
110 napi_create_string_utf8(env, command.c_str(), command.length(), &temp);
133 std::string command("ls; sleep 1");
135 napi_create_string_utf8(env, command.c_str(), command.length(), &temp);
158 std::string command("each abc");
160 napi_create_string_utf8(env, command.c_str(), command.length(), &temp);
180 std::string command("mkdir test.txt");
182 napi_create_string_utf8(env, command.c_str(), command.length(), &temp);
316 std::string command("ls; sleep 1s;");
318 napi_create_string_utf8(env, command.c_str(), command.length(), &temp);
341 std::string command("ls; sleep 1s;");
343 napi_create_string_utf8(env, command.c_str(), command.length(), &temp);
690 std::string command("ls; sleep 1");
692 napi_create_string_utf8(env, command.c_str(), command.length(), &temp);
719 std::string command("ls; sleep 1s;");
721 napi_create_string_utf8(env, command.c_str(), command.length(), &temp);