问题描述
|
if ! ps ax | grep -v grep | grep -v -i tmux | grep \"theserver.jar\" > /dev/null; then
echo \"Server failed to start!\"
else
echo \"Server successfully started!\"
fi
请问我该如何用python做这个?
我不知道该怎么做。请帮忙 :(
我可以使用os.system吗?
提前致谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)