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
10
votes
2 answers

Executing a JAR file straight from a Maven repository

Suppose that we have a Java application, rather than a library, which is available through Maven central. For example, one such project is jol, which has its corresponding CLI interface in Maven central. As far as I can tell, the main difference…
thkala
  • 84,049
  • 23
  • 157
  • 201
10
votes
2 answers

Is it possible to execute a Java code string at runtime in Android?

I want to get a line of Java code from user and execute it in Android. For example: String strExecutable = " int var; var = 4 + 3" Object obj = aLibrary.eval(strExecutable); It is not java script and I want to run a java code. Is it possible? If…
Bob
  • 22,810
  • 38
  • 143
  • 225
9
votes
1 answer

run untrusted python code that is able to communicate with main program but isolated from the system

Prologue: I know that many people already tried to sandbox Python code within Python and failed, but I haven't seen the approach to additionally preprocess the scripts as text and reject scripts containing keywords like __base__ that could be used…
Byte Commander
  • 6,506
  • 6
  • 44
  • 71
9
votes
1 answer

SSIS DTEXEC Package Variable Space Character Not Accepted

I'm attempting to execute an SSIS package on SQL 2005 using the following: dtexec /SQL "\MyPackageName" /SERVER mssql1 /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /SET "\Package.Variables[FileFolder].Value";"\\SomeServer\Someshare\Output Batch\" this…
ErikE
  • 48,881
  • 23
  • 151
  • 196
9
votes
2 answers

Differentiate driver code and work code in Apache Spark

In Apache Spark program, how do we know which part of code will execute in driver program and which part of code will execute in worker nodes?
Gopinathan K M
  • 335
  • 2
  • 6
  • 15
9
votes
2 answers

In concolic testing, what does "concrete execution" mean?

I came across the terms "concrete & symbolic execution" when I was going through the concept of concolic testing. (The article mentioned there, "CUTE: A concolic unit testing engine for C", uses that term in its abstract section.) "The approach…
9
votes
5 answers

Equivalent to window.setTimeout() for C++

In javascript there's this sweet, sweet function window.setTimeout( func, 1000 ) ; which will asynchronously invoke func after 1000 ms. I want to do something similar in C++ (without multithreading), so I put together a sample loop like: …
bobobobo
  • 64,917
  • 62
  • 258
  • 363
9
votes
3 answers

How to pause, resume and stop a Sikuli program?

Suppose I am running a Sikuli program and I want to pause the program at a particular point and then after sometime I want to resume the program from that point where I paused, without affecting the process. And then I want to stop the process and…
Praveen kumar
  • 597
  • 2
  • 14
  • 26
9
votes
3 answers

javascript pass eval variables

i have eval function, which needs to execute javascript from php. but i need to pass element, so i can put mouse over tips on the link user clicked on. var globalEval = function globalEval(src, element) { if (window.execScript) { …
Basit
  • 16,316
  • 31
  • 93
  • 154
8
votes
1 answer

does including require linking against tbb?

In my project on a Ubuntu 20 platform (with g++ 9.3.0), I use the following line #include to support parallel processing via standard library functions. I don't include anything from TBB, the parallel execution library from Intel. But…
alle_meije
  • 2,424
  • 1
  • 19
  • 40
8
votes
2 answers

In Linux, how to execute Java jar file with external jar files?

In Linux, how to execute Java jar file with external jar files?
Gowtham
  • 81
  • 1
  • 1
  • 2
8
votes
1 answer

How to get execution time of c program?

I am using clock function for my c program to print execution time of current program.I am getting wrong time in output.I want to display time in seconds,milliseconds and microseconds. #include #include #include int…
raj123
  • 564
  • 2
  • 10
  • 27
8
votes
3 answers

Showing "JOptionPane.showMessageDialog" without stopping flow of execution

I'm currently working on a project that's getting more complex than I thought it would be originally. What I'm aiming to do right now is show a message dialog without halting the execution of the main thread in the program. Right now, I'm…
Brandon
  • 4,486
  • 8
  • 33
  • 39
8
votes
2 answers

kdevelop no valid executable specified

I've just installed kdevelop 4.1 , then created a normal hello world , build is ok but when i press execute it gives me (no valid executable specified) any idea ?
Ismail Marmoush
  • 13,140
  • 25
  • 80
  • 114
8
votes
1 answer

Found duplicate execution with id default in pom.xml

How to resolve issue with duplicate executions. 'build.pluginManagement.plugins.plugin[org.flywaydb:flyway-maven-plugin].executions.execution.id' must be unique but found duplicate execution with id default Here is source code: …
max mazurkevych
  • 141
  • 1
  • 2
  • 5