Home
last modified time | relevance | path

Searched refs:stdout_file_name (Results 1 – 1 of 1) sorted by relevance

/test/vts/drivers/shell/
DShellDriver.cpp97 char stdout_file_name[temp_file_name_len]; in ExecShellCommandNohup() local
99 strcpy(stdout_file_name, temp_file_name_pattern.c_str()); in ExecShellCommandNohup()
101 int stdout_file = mkstemp(stdout_file_name); in ExecShellCommandNohup()
107 ss << "nohup sh -c '" << command << "' >" << stdout_file_name << " 2>" in ExecShellCommandNohup()
116 long stdout_size = GetFileSize(stdout_file_name); in ExecShellCommandNohup()
118 result->stdout = string(stdout_file_name); in ExecShellCommandNohup()
120 result->stdout = ReadFile(stdout_file_name); in ExecShellCommandNohup()
121 remove(stdout_file_name); in ExecShellCommandNohup()