execute

Setting the SVN "execute" bit in a Subversion repository using TortiseSVN or command line SVN

I've got an open-source app that is hosed at code.google.com. It is cross platform ( Linux / Windows / Mac ). I uploaded the code initially from a WinXP machine using TortiseSVN and it seems that none of the "configure" batch files that are used for the linux build have their "execute" bits set. What would be the easiest way to set the...

Execute process as normal user from MSI (wix) under different context

I'm trying to configure an installer for some software we use within the company. The installer is pushed out to target machines via SMS, and it performs the following steps: Terminate any currently running instances of the app (the app is a utility, so this isn't an impact on the user). Remove the previous version. Install the update...

Kill a process started with Groovy execute()

I'm able to run Groovy scripts from Groovy using proc = "cmd /c groovy BillingServer.groovy".execute(null, new File("C:\")) However, I can't find a way to then terminate/kill the process. waitForOrKill(1) and destroy() "act" like they've worked, but the external process continues to run. Calling exitValue() fails with java.lang.Ill...

Execute a Java program from our Java program

How to execute another Java program from our Java program? I used Runtime.getRuntime().exec("_") but it throws a runtime IOException. I don't know whether I have the problem with specifying the path or something else. Can anyone please help me with the code. Thanks in advance. Regards, Arun ...

What does cmd /C mean?

I can understand cmd but not /c. I was trying to invoke a java program from the current for which I use Runtime.getRuntime().exec("cmd /C java helloworld") There arises my doubt. ...

Problems with running an application under controlled environment (Win32).

I'm not exactly sure how to tag this question or how to write the title... so if anyone has a better idea, please edit it! Here's the deal: Some time ago I had written a little but cruicial part of a computing olympiad management system. The system's job is to get submissions from participants (code files), compile them, run them again...

How to add a program to the 'execute' list

Hi, I really don't know how to say, may be this is why I didn't found a solution on Google. My problem is simple. I want to run program from the execute command just by putting their names and not the path. For example type 'myprog' to open 'c:/program/myprog.exe' That's all! Thanks for your help :) ...

Running Access QueryDefs from VBA in Word

I'm creating parameterized queries in Access and would like to call them from ADO code in a VBA module in Word. I'm not sure of the syntax, however, to call parameterized queries. Can't seem to find a good code reference online. If I have qryGetRecordByFirstLast that accepts Firstname and Lastname as parms, how do I code this execute in...

Compiling/Executing a C# Source File in Command Prompt

Pardon my ignorance but how do you compile a .CS file from a command-prompt window? And how do you execute? ...

Adobe AIR to execute program

Hello. I would like to press a button from an Adobe AIR application and execute some installed program. For example, I would have a button named "Start Winamp". When this is pressed it should start Winamp.exe directly...I don't want some command line thing executed, I only want an exe to start. Or...is it the same thing ? Please, let me ...

Cygwin - run script silenty from "run command"

I have script lets say: C:\foo.bsh I want to be able to run this command via the windows run command: Start -> Run Windows Key + R and type something small like 'foo' and hitting return. However, I do not want a cmd prompt to be visible. This script does some preprocessing for an IDE. I do not want the cmd prompt to be open for t...

Datacontext ExecuteCommand paramters IN statement

What is the best way to run a custom sql statement using IN from a c# linq to sql datacontext? I have tried: db.ExecuteCommand( "UPDATE tblCard SET used = 1 WHERE id IN ({0}) AND customer_id = {1}", Request.Form["ids"], customer_id ); Which is fine for 1 item passed through the form, but if i get posted through for example "2,1"...

Executing an SQL statement in C#?

Hey guys i want to execute my SQL statement but im having synatx trouble, can someone help me understand what i doin wrong please? Thanks, Ash. public void AddToDatabase(string[] WordArray, int Good, int Bad, int Remove) { for (int WordCount = 0; WordCount < WordArray.Length; WordCount++) { string sSQL = "INSERT INTO W...

How do I make multiple database queries more efficient in Perl?

Hi all, I have a queries that reside in multiple methods each (query) of which can contain multiple paramaters. I am trying to reduce file size and linecount to make it more maintainable. Below is such an occurence: $sql_update = qq { UPDATE database.table SET column = 'UPDATE!' WHERE id = ? ...

How to run a script embedded in the page in Selenium IDE?

I'm testing a page with Selenium IDE and want to execute a method already in the page. I've tried getEval(window.name.space.function()) but it just returns window.name is undefined. Is this possible? ...

How can I make Perl wait for child processes started in the background with system()?

I have some Perl code that executes a shell script for multiple parameters, to simplify, I'll just assume that I have code that looks like this: for $p (@a){ system("/path/to/file.sh $p&"); } I'd like to do some more things after that, but I can't find a way to wait for all the child processes to finish before continuing. Conver...

How to read output and give input to a program from c program?

This is with reference to the below question http://stackoverflow.com/questions/70842/execute-program-from-within-a-c-program How do I do the same on windows with Tiny C Compiler? I need to execute a .exe fro c program and give input to it from within the same C program by using a file or string as source and read the output from it into...

Interpret and execute arbitrary Javascript in Linux CLI

I've been looking for ways to do this for a while but haven't quite been able to find the right way to do it. The task: Execute Javascript from a Linux command line. For example, have the binary or whatever is going to interpret Javascript load up some .js files, then print a value of some variable. More concrete example: I would like...

Is it possible to execute a string in MySQL?

I have to convert an MSSQL stored proc that passes a varchar that is a query. The proc has the following command: INSERT INTO Results EXEC (@Expresion); This isn't working. I'm pretty sure that EXEC and EXECUTE arent MySQL commands but CALL doesn't work either. Does anyone know if its even possible to have something like JavaScript'...

extract cab file and execute the exe file(inside the cab file) automatically

Hi! I have a cab file(w/ an executable file inside) embedded on my webpage. When the user access the page the cab file will be automatically extracted and the executable file inside should be executed as well. Is this possible? My hunch is that this will be configured in my inf file but I don't know how. I would appreciate your help in t...