Skip to content

fork 一个进程#213

Open
leoleepsyche wants to merge 1 commit into
masterfrom
GengG_eng
Open

fork 一个进程#213
leoleepsyche wants to merge 1 commit into
masterfrom
GengG_eng

Conversation

@leoleepsyche

Copy link
Copy Markdown
  • 这个PR解答了当前仓库中的题目(机器人会自动判题并合并当前PR)
  • 这个PR修复了当前仓库中的一些代码缺陷(机器人不会判题,而是由管理员来处理当前PR)

@hcsp-bot

Copy link
Copy Markdown
Contributor

🎉 感谢提交Pull Request!请稍等片刻,我们已经将其提交到CI进行检查,一旦有结果会立即通知您!

// 传递的命令是sh run.sh
// 环境变量是AAA=123
// 可执行程序 // 2 参数
ProcessBuilder pb = new ProcessBuilder("sh","run.sh");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

',' 后应有空格。

// 工作路径
pb.directory (getWorkingDir ());
// 环境变量
Map<String,String > envs = pb.environment();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

',' 后应有空格。
'>' 前不应有空格。

pb.directory (getWorkingDir ());
// 环境变量
Map<String,String > envs = pb.environment();
envs.put ("AAA","123");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

',' 后应有空格。

@hcsp-bot

Copy link
Copy Markdown
Contributor

你的提交 e265b07 ,似乎失败了:Your tests failed on CircleCI

😅 请不要气馁,仔细分析原因,再接再厉!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants