how to hide terminal ouput which comes from the execlp C/C++

后端 未结 0 1060
梦如初夏
梦如初夏 2020-12-13 16:11
fork_rv = fork();
if (fork_rv == 0)
{
    // we\'re in the child
    chdir(view.path);
    execlp("xdg-open", "xdg-open", FOCUSED.name, NULL);

          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题