| 1090 | |
| 1091 | vector<string> tokens = strings::tokenize(output.get(), "\n"); |
| 1092 | foreach (const string& fdString, tokens) { |
| 1093 | Try<int_fd> fd = numify<int_fd>(fdString); |
| 1094 | ASSERT_SOME(fd); |
| 1095 | |
| 1096 | fds.insert(fd.get()); |
| 1097 | } |
| 1098 | |
| 1099 | // The subprocess should always have the stdio file descriptors. |
| 1100 | EXPECT_TRUE(fds.contains(STDIN_FILENO)); |