Questions tagged [execution]

Refers to the act of running a process.

Refers to the act of running a process. Generally used in reference to the time taken for the process to complete.

1743 questions
0
votes
0 answers

How to Run a batch file using PHP

I am trying to execute a batch file using php. I am using the following code: echo exec($batch_exec_string); $batch_exec_string is my batch file that is selected. However, it will execute but it executes incorrectly. After execution of a batch…
JustAnotherUser32
  • 137
  • 2
  • 5
  • 17
0
votes
1 answer

Determining the block execution order in Simulink

I'm working with a Simulink model that contains 2 Level II S-Functions and I need to figure out which of them is executed first during simulation. Is there a way to know the block execution order of a model and, if possible, alter this order? Thanks…
Charlie
  • 252
  • 5
  • 16
0
votes
2 answers

Execution speed of loops varies with variable position

Version A: #include #include int main() { time_t start = time(0); //denote start time int i,j; // initialize ints static double dst[4096][4096]; //initialize arrays static double src[4096][4096]; // for(i=0; i<4096; ++i){ …
Curseive
  • 5
  • 1
  • 1
  • 5
0
votes
3 answers

Executing a Code after a specific time

I made a simple network monitoring system and I want it to run after every one hour to keep a continuous track of the client system. Can anyone tell me how I can make my code to execute after every one hour. EDITED: My platform is windows-7 and i am…
Saad Saadi
  • 1,031
  • 10
  • 26
0
votes
0 answers

SQL Execution Time Variation between Environments

We have a PHP web interface which calls a stored procedure which is taking excessively long on our live environment. I have restored all our information to the DEV env to replicate but it seems that the query takes less that a few seconds to…
user1769667
  • 329
  • 1
  • 5
  • 16
0
votes
1 answer

exec() and refreshing issue

This is the thing, i am preparing a webpage and i need that PHP holds a condition, if the condition is true, it execute some program with the function exec(), after that, (as it is automated) the webpage should refresh itself to keep looking the…
user2905333
  • 35
  • 1
  • 5
0
votes
0 answers

PDO get restults from about 1.000.000 records

I have an script that I need to select an top 10 from about 500.000 - 1.000.000 records I use MSSQL Server 2008 My website is steed up to use the PDO class but when I try to get top 10 from records my database and webserver gets hanged up and give…
Mando Madalin
  • 193
  • 2
  • 3
  • 14
0
votes
1 answer

convert String to runtime code in java

I'm creating a software that would execute custom code line by string SO, is there any method function or whatever you want that can do that : String command="println("the TEST work !!!")"; magicExecMethod(command); *and it print : the TEST work…
hugodecasta
  • 262
  • 4
  • 13
0
votes
0 answers

MATLAB code running slow on MacBookPro, triple while loop

I have been running a MATLAB program for almost six hours now, and it is still not complete. It is cycling through three while loops (the outer two loops are n=855, the inner loop is n=500). Is this a surprise that it is taking this long? Is there…
user1830307
0
votes
1 answer

executing code in address bar

i saw in a few places that you can execute code using the address bar, so to test it out i typed in javascript:alert("hello"); and i pressed [ENTER] yet nothing happens. i have even tried code someone else wrote from…
Math chiller
  • 4,123
  • 6
  • 28
  • 44
0
votes
1 answer

Remote logon through Powershell and task execution

Is it possible to logon to the remote machine using Powershell, and to execute scheduled task or batch file, which contains CodedUI tests? I have tried Invoke-Command, but CodedUI test cannot be executed because it has no control over the desktop.…
mustbenew
  • 23
  • 3
0
votes
1 answer

Python: Print the time of the programs execution

I am in a first-year programming class. My prof gave us an assignment and he expected us to have taken this other programming class which wasn't a prerequisite for this one. I never took it so I have no idea how to even remotely do this question and…
Sofia June
  • 169
  • 2
  • 8
0
votes
1 answer

Running a Python Script on my website?

I have a website with miniwebhost.com, which supports python. I want to have a page that runs one of my text based games I have made on Python. So, how would I go about doing it? I know I have to make it executable and something about a…
Ross Hudson
  • 83
  • 1
  • 2
  • 7
0
votes
2 answers

For-Loop Execution in Python - Does the Executable Code Reset?

Trying to plot multiple lines on one graph using matplotlib and for loops, but the code doesn't work after the first iteration. Here's the code: import csv import matplotlib.pyplot as plt r = csv.reader(open('CrimeStatebyState.csv', 'rb')) line1 =…
userNaN
  • 506
  • 1
  • 5
  • 13
0
votes
1 answer

Alert window until method finishes execution in Swing

The shown image is my window made using Swing. How do I create an alert window when i click Submit button and the alert should display until the action performed is completed(alert+code should run in background) ? Here is my code snippet : private…
Mani Deep
  • 1,298
  • 2
  • 17
  • 33
1 2 3
99
100