运行shell命令,不等待回报 [英] Run shell command and don't wait for return

查看:2632
本文介绍了运行shell命令,不等待回报的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能启动命令的执行,而不是等待它继续之前回来。

 命令
/usr/sbin/thing.sh< - 不要等待此返回。
更多的命令


解决方案

一个单一的&放大器;命令之间符号将让每一个不依赖于previous独立运行有成功的命令。

Is it possible to start the execution of a command and not wait for it to return before continuing.

I.E.

commands
/usr/sbin/thing.sh    <-- Don't wait for this to return.
more commands

解决方案

A single & symbol between commands will let each run independently without relying on the previous command having succeeded.

这篇关于运行shell命令,不等待回报的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆