Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #7741
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.datemas.de!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | "M. Strobel" <sorry_no_mail_here@nowhere.dee> |
| Newsgroups | comp.lang.php |
| Subject | Re: How to Prevent Apache Server From Hanging while running a batch file? |
| Date | Fri, 07 Dec 2012 09:33:15 +0100 |
| Lines | 51 |
| Message-ID | <aidnubFb8enU1@mid.uni-berlin.de> (permalink) |
| References | <39b1ef22-9d4c-4499-8c4b-c227ade150d5@googlegroups.com> <k9rt3o$sn$1@dont-email.me> <45aaa074-04f5-43b5-b276-b45b007db52f@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de BSqm3ZH+Ie/vOCKZF0nqXAsdKflhh9CSnBKDYw6HXSPkyATe4jW663DMB0ERMh6Y0= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2 |
| In-Reply-To | <45aaa074-04f5-43b5-b276-b45b007db52f@googlegroups.com> |
| Xref | csiph.com comp.lang.php:7741 |
Show key headers only | View raw
Am 07.12.2012 07:07, schrieb Fastian: > On Friday, December 7, 2012 9:59:31 AM UTC+5, Jerry Stuckle wrote: >> On 12/6/2012 11:53 PM, Fastian wrote: >> >>> I am using xampp on Windows platform.I am running a batch file with exec() command from my php script. It works well when user gives correct input and batch file completes its execution properly. But if the user give some wrong input and batch file remains unable to complete its execution, apache server hangs. Then I have to restart the server. >> >>> >> >>> I want that the apache should not hang and it should not be dependent on the execution of the batch file. Just I should be able to correct my input instead of restarting the xampp. >> >>> >> >>> Can anyone help? >> >>> >> >> >> >> Fix your batch file so it completes execution whether or not the input >> >> is correct. >> >> >> >> -- >> >> ================== >> >> Remove the "x" from my email address >> >> Jerry Stuckle >> >> JDS Computer Training Corp. >> >> jstucklex@attglobal.net >> >> ================== > > Ok. My batch file is as follows: > > latex 1.tex > dvipng 1.dvi > copy 11.png question-preview > > The first command do not runs successfully due to invalid input. Can you please suggest that how can I fix this batch file so that it should work independent of the input. > Ask the latex people. In the default configuration, on error latex switches to an input prompt to ask the user to correct it. /Str.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to Prevent Apache Server From Hanging while running a batch file? Fastian <abdulbasit.fast@gmail.com> - 2012-12-06 20:53 -0800
Re: How to Prevent Apache Server From Hanging while running a batch file? Jerry Stuckle <jstucklex@attglobal.net> - 2012-12-06 23:59 -0500
Re: How to Prevent Apache Server From Hanging while running a batch file? Fastian <abdulbasit.fast@gmail.com> - 2012-12-06 22:07 -0800
Re: How to Prevent Apache Server From Hanging while running a batch file? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-12-07 09:33 +0100
Re: How to Prevent Apache Server From Hanging while running a batch file? Robert Heller <heller@deepsoft.com> - 2012-12-07 07:13 -0600
csiph-web