title: "When /^I launch in the background ([^]+)`$/"
post_status: publish
comment_status: open
taxonomy:
category:
- wp-cli-handbook
post_tag:
- Behat Steps
- References
- Repos
When /^I launch in the background ([^]+)`$/
在后台启动给定的命令。
用法
Scenario: My example scenario
Given a WP install
And I launch in the background `wp server --host=localhost --port=8181`
...
Behat 步骤文档在每次发布时从 WP-CLI 代码库生成。如需改进建议,请提交拉取请求。
相关
- When /^I (run|try) `([^`]+)`$/ - 运行或尝试给定的命令。
- When /^I (run|try) `([^`]+)` from '([^\s]+)'$/ - 在子目录中运行或尝试给定的命令。
- When /^I (run|try) the previous command again$/ - 再次运行或尝试上一个命令。