如何停止计划? [英] How to stop program?

查看:76
本文介绍了如何停止计划?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个php程序,它使用exec调用c ++程序。但是当

用户按下浏览器中的停止按钮或关闭它时,该程序在服务器上运行时保持

。如何根据用户的
操作停止它。

提前致谢。

Sal

解决方案

shyren写道:

大家好,我有一个用exec调用c ++程序的php程序。但是当用户按下浏览器中的停止按钮或关闭它时,该程序将继续在服务器上运行。如何根据用户的动作停止它。
提前致谢。
Sal




如何检测?用户按下停止按钮或关闭浏览器?

-

==================
删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================


我不知道如何检测用户按下停止按钮或关闭浏览器
。这是问题的一部分。

Sal

Jerry Stuckleaécrit:

shyren写道:

你好全部,
我有一个php程序,它使用exec调用c ++程序。但是当用户在浏览器中按下停止按钮或关闭它时
这个程序
继续在服务器上运行。如何根据用户的动作停止它。
提前致谢。
Sal

如何检测用户按下停止按钮或关闭



浏览器?

-
================== 删除x来自我的电子邮件地址
Jerry Stuckle
JDS计算机培训公司
js ***** **@attglobal.net
==================




shyren写道:

我不知道如何检测用户按下停止按钮或关闭浏览器。这是问题的一部分。
Sal




这更像是一个修辞问题。答案是:你不能。

-

==================

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================


Hi All,
I have a php program which calls a c++ program using exec. However when
user presses stop button in the browser or closes it this program keeps
on running on the server. How can I stop it according to user''s
actions.
Thanks in advance.
Sal

解决方案

shyren wrote:

Hi All,
I have a php program which calls a c++ program using exec. However when
user presses stop button in the browser or closes it this program keeps
on running on the server. How can I stop it according to user''s
actions.
Thanks in advance.
Sal



How can you detect the user pressed the stop button or closed the browser?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


I don''t know how to detect that user pressed the stop button or closed
the browser. That is one part of the problem.
Sal
Jerry Stuckle a écrit :

shyren wrote:

Hi All,
I have a php program which calls a c++ program using exec. However when user presses stop button in the browser or closes it this program keeps on running on the server. How can I stop it according to user''s
actions.
Thanks in advance.
Sal

How can you detect the user pressed the stop button or closed the


browser?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================




shyren wrote:

I don''t know how to detect that user pressed the stop button or closed
the browser. That is one part of the problem.
Sal



That was more of a rhetorical question. The answer is: you can''t.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


这篇关于如何停止计划?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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