MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CreateSubProcess

Function CreateSubProcess

tensorflow/core/platform/posix/subprocess.cc:466–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466std::unique_ptr<SubProcess> CreateSubProcess(const std::vector<string>& argv) {
467 std::unique_ptr<SubProcess> proc(new SubProcess());
468 proc->SetProgram(argv[0], argv);
469 proc->SetChannelAction(CHAN_STDERR, ACTION_DUPPARENT);
470 proc->SetChannelAction(CHAN_STDOUT, ACTION_DUPPARENT);
471 return proc;
472}
473
474} // namespace tensorflow

Callers 1

MakeTestClusterMethod · 0.50

Calls 2

SetProgramMethod · 0.80
SetChannelActionMethod · 0.80

Tested by 1

MakeTestClusterMethod · 0.40