Search found 4 matches

by GilesTRAbbit
13 Dec 2015 15:18
Forum: DOS Batch Forum
Topic: Running/Killing an executable after 20 minutes
Replies: 9
Views: 5520

Re: Running/Killing an executable after 20 minutes

It could be (i'm unsure), when using 'start "" gulp.exe <input-%%a.dat >output-%%a.out' you instanciate a new command shell, with own stdin and stdout (no matter how you initialized "start-stdin/-out"; this (currently untested) may fix it: start "" cmd /C ^""...
by GilesTRAbbit
12 Dec 2015 10:50
Forum: DOS Batch Forum
Topic: Running/Killing an executable after 20 minutes
Replies: 9
Views: 5520

Re: Running/Killing an executable after 20 minutes

Are your filenames actually input-1.dat where the numeral is the only changing item? My filenames are actually "Ti4+potentialfitting-brannerite-1.dat" with the number (which increases by 1) the only thing that changes. So if you run this, does it work correctly or hang? gulp.exe <input-1....
by GilesTRAbbit
10 Dec 2015 19:36
Forum: DOS Batch Forum
Topic: Running/Killing an executable after 20 minutes
Replies: 9
Views: 5520

Re: Running/Killing an executable after 20 minutes

Hi Foxidrive, Many thanks for your response. I have tried the first of the codes you posted - unfortunately with no success: the GULP executable runs - a new window opens and the GULP header can be seen. [I note that this does not usually happen when I use the batch file I described...] But, that is...
by GilesTRAbbit
10 Dec 2015 15:22
Forum: DOS Batch Forum
Topic: Running/Killing an executable after 20 minutes
Replies: 9
Views: 5520

Running/Killing an executable after 20 minutes

Hi, Batch file scripting is brand new to me, so please be patient with me... In order to run calculations in a program called GULP on a windows (10, 64-bit) environment, I use the .bat file that has the following form: gulp.exe < input-1.dat > output-1.out gulp.exe < input-2.dat > output-2.out gulp....