Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

add close_on_exec and agent_work_dir #1

Merged
merged 5 commits into from
Mar 23, 2015
Merged

add close_on_exec and agent_work_dir #1

merged 5 commits into from
Mar 23, 2015

Conversation

leoYY
Copy link
Collaborator

@leoYY leoYY commented Mar 22, 2015

FD_CLOEXEC,能防止exec后得进程和父进程共享fd,而外需要做得是重定向exec任务得标准输出句并与标准输出句并
work_dir问题,简单通过编译参数,以及手动设置得方式,设置工作得root目录,根据task得目录需要taskid等参数构造,可再添加逻辑

@@ -1,24 +1,294 @@
#COMAKE2 edit-mode: -*- Makefile -*-
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要提交这个makefile

imotai added a commit that referenced this pull request Mar 23, 2015
add close_on_exec and agent_work_dir
@imotai imotai merged commit cb86c24 into baidu:master Mar 23, 2015
leoYY pushed a commit to leoYY/galaxy that referenced this pull request Aug 5, 2015
imotai added a commit that referenced this pull request Aug 24, 2015
ignore outdated query result
imotai pushed a commit that referenced this pull request Jan 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants