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
38
votes
28 answers

System.ExecutionEngineException Failure

I've been trying to find out more about this problem and I'm not having much luck. I keep reading that applications should not have this error come up and although that's all fine and dandy, it doesn't tell me what can cause this error to show up. I…
Alex
37
votes
2 answers

How does Asynchronous Javascript Execution happen? and when not to use return statement?

// synchronous Javascript var result = db.get('select * from table1'); console.log('I am syncronous'); // asynchronous Javascript db.get('select * from table1', function(result){ // do something with the result }); console.log('I am…
ekanna
  • 5,462
  • 8
  • 28
  • 31
35
votes
6 answers

php timeout - set_time_limit(0); - don't work

I'm having a problem with my PHP file that takes more than 30 seconds to execute. After searching, I added set_time_limit(0); at the start of the code,cbut the file still times out with a 500 error after 30 seconds. log: PHP Fatal error: Maximum…
user614963
  • 823
  • 3
  • 9
  • 13
34
votes
5 answers

How can I set the current line of execution in the eclipse java debugger?

I want to force the current execution line to a specific line in the same function, possibly skipping intermediate lines. All my old school debuggers had this feature, but I can't find it in eclipse. Is there a way to do it without changing code?
stu
  • 8,461
  • 18
  • 74
  • 112
33
votes
5 answers

Oracle query execution time

I would like to get the query execution time in Oracle. I don't want the time Oracle needs to print the results - just the execution time. In MySQL it is easy to get the execution time from the shell. How can I do this in SQL*Plus?
user429743
  • 331
  • 1
  • 3
  • 3
33
votes
7 answers

How to run batch script without using *.bat extension

Is there any method in Windows through which we can execute a batch script without *.bat extension?
Sree
  • 399
  • 2
  • 5
  • 12
27
votes
2 answers

Safe execution of untrusted Haskell code

I'm looking for a way to run an arbitrary Haskell code safely (or refuse to run unsafe code). Must have: module/function whitelist timeout on execution memory usage restriction Capabilities I would like to see: ability to kill thread compiling…
Tener
  • 5,280
  • 4
  • 25
  • 44
26
votes
6 answers

WPF Image Dynamically changing Image source during runtime

I have a window with a title on it. When the user selects a choice from a drop down list, the title image can change. The problem is when the image loads, it's a blurred, stretched, and pixelated. These are PNG files I'm working with and they look…
John Batdorf
  • 2,502
  • 8
  • 35
  • 43
26
votes
2 answers

Shortcut to stop execution of program in netbeans

I am using netbeans to code java and i was wondering if there is an option to have a program stopped by pressing a shortcut. I can press F6 to execute program, but I have to use mouse to stop program, which I find a little annoying. many thanks…
Alfred
  • 60,935
  • 33
  • 147
  • 186
25
votes
7 answers

Best practice for an endless/ periodic execution of code in C#

Often in my code I start threads which basically look like this: void WatchForSomething() { while(true) { if(SomeCondition) { //Raise Event to handle Condition OnSomeCondition(); } …
Tokk
  • 4,499
  • 2
  • 31
  • 47
25
votes
3 answers

How are JavaScript files loaded and executed?

I don't often see talk or research on JavaScript file loading/executing order. I'm interested in sites explaining how JavaScript is being handled. In particular, if I have
Tower
  • 98,741
  • 129
  • 357
  • 507
23
votes
8 answers

(React Native): Execution failed for task ':app:generatePackageList'

I am generating an apk of a project that I developed using React Native. But when I run the command ./gradlew assembleRelease The following error appears: > Configure project :react-native-audio WARNING: Configuration 'compile' is obsolete and has…
23
votes
3 answers

Skip exec-maven-plugin from Command Line Argument in Maven

By default in my project POM, exec-maven-plugin, rpm-maven-plugin will be executed, which is not required in local compilation/build. I want to skip these plugin execution by passing Command Line Arguments I tried below command to skip them like…
RaceBase
  • 18,428
  • 47
  • 141
  • 202
23
votes
7 answers

Limit execution time of an function or command PHP

Hi is there a possibility to set time limit only to a command or only to a function eg: function doSomething() { //..code here.. function1(); //.. some code here.. } I want to set time limit only to function1. There exits…
Granit
  • 931
  • 3
  • 12
  • 22
20
votes
6 answers

Output compile time stamp in Visual C++ executable?

How can I insert compilation timestamp information into an executable I build with Visual C++ 2005? I want to be able to output something like this when I execute the program: This build XXXX was compiled at dd-mm-yy, hh:mm. where date and time…
Michael