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
22 answers

Asynchronous vs synchronous execution. What is the difference?

What is the difference between asynchronous and synchronous execution?
  • 19,443
  • 14
  • 36
  • 35
11 answers

How to tell PowerShell to wait for each command to end before starting the next?

I have a PowerShell 1.0 script to just open a bunch of applications. The first is a virtual machine and the others are development applications. I want the virtual machine to finish booting before the rest of the applications are opened. In bash I…
John Mee
  • 50,179
  • 34
  • 152
  • 186
19 answers

How to stop/terminate a python script from running?

I wrote a program in IDLE to tokenize text files and it starts to tokeniza 349 text files! How can I stop it? How can I stop a running Python program?
  • 1,923
  • 4
  • 15
  • 10
4 answers

Gradle to execute Java class (without modifying build.gradle)

There is simple Eclipse plugin to run Gradle, that just uses command line way to launch gradle. What is gradle analog for maven compile and run mvn compile exec:java -Dexec.mainClass=example.Example This way any project with could be…
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
4 answers

How to execute Python inline from a bash shell

Is there a Python argument to execute code from the shell without starting up an interactive interpreter or reading from a file? Something similar to: perl -e 'print "Hi"'
  • 1,487
  • 3
  • 10
  • 9
5 answers

Can I pass an argument to a VBScript (vbs file launched with cscript)?

I have this script saved in "test.vbs": Set FSO = CreateObject("Scripting.FileSystemObject") Set File = FSO.OpenTextFile(workFolder &"\test.txt", 2, True) File.Write "testing" File.Close Set File = Nothing Set FSO = Nothing Set workFolder =…
  • 1,543
  • 3
  • 13
  • 9
7 answers

Adding delay between execution of two following lines

I need to add a delay between the execution of two lines in a(same) function. Is there any favorable option to do this? Note: I don't need two different functions to do this, and the delay must not affect other functions' execution. eg: line 1:…
Krishna Raj Salim
  • 7,331
  • 5
  • 34
  • 66
10 answers

How to force Sequential Javascript Execution?

I've only found rather complicated answers involving classes, event handlers and callbacks (which seem to me to be a somewhat sledgehammer approach). I think callbacks may be useful but I cant seem to apply these in the simplest context. See this…
  • 753
  • 1
  • 6
  • 5
4 answers

.do extension in web pages?

I want to know what is .do extension in web pages. Is it a standard extension, or, if it's not, can we change the extension (like client-login.php to and still run as PHP)? Thanks.
Vishwanath Dalvi
  • 35,388
  • 41
  • 123
  • 155
5 answers

Does sleep time count for execution time limit?

I have two questions concerning the sleep() function in PHP: Does the sleep time affect the maximum execution time limit of my PHP scripts? Sometimes, PHP shows the message "maximum execution time of 30 seconds exceeded". Will this message appear…
  • 30,999
  • 61
  • 181
  • 291
4 answers

Eclipse: export running configuration

I wrote a complex Java application with eclipse that uses many .jar libraries included into project folder. Is there a quick way to export a running configuration of the application that allows me to run it from shell (I don't actually need to move…
  • 131,802
  • 30
  • 241
  • 343
4 answers

MySQL query / clause execution order

What is the predefined order in which the clauses are executed in MySQL? Is some of it decided at run time, and is this order correct? FROM clause WHERE clause GROUP BY clause HAVING clause SELECT clause ORDER BY clause
  • 1,475
  • 3
  • 23
  • 38
5 answers

What happens when you run a program?

I would like to collect here what happens when you run an executable on Windows, Linux and OSX. In particular, I would like to understand exactly the order of the operations: my guess is that the executable file format (PE, ELF or Mach-O) is loaded…
Stefano Borini
  • 138,652
  • 96
  • 297
  • 431
3 answers

C# -Four Patterns in Asynchronous execution

I heard that there are four patterns in asynchronous execution. There are four patterns in async delegate execution: Polling, Waiting for Completion, Completion Notification, and "Fire and Forget" When I have the following code : class…
  • 4,991
  • 9
  • 36
  • 40
5 answers

Does php execution stop after a user leaves the page?

I want to run a relatively time consuming script based on some form input, but I'd rather not resort to cron, so I'm wondering if a php page requested through ajax will continue to execute until completion or if it will halt if the user leaves the…
Stephen Belanger
  • 6,251
  • 11
  • 45
  • 49
2 3
99 100