Run the last executed command in dos prompt
HI, when using unix i use to type !! to run the last executed command. how could i do the similar kind of operation on dos prompt on windows? ...
HI, when using unix i use to type !! to run the last executed command. how could i do the similar kind of operation on dos prompt on windows? ...
How can I define an option with an arbitrary number of arguments in Python's OptParser? I'd like something like: python my_program.py --my-option X,Y # one argument passed, "X,Y" python my_prgoram.py --my-option X,Y Z,W # two arguments passed, "X,Y" and "Z,W" the nargs= option of OptParser limits me to a defined number. How can ...
Item 2 of the Joel Test is "Can you make a build in one step", but what is the best (or commonly accepted) way to achieve this? What are the pros and cons of using the IDE's command-line interface to do a headless build, as opposed to maintaining a build script that is completely independent of the IDE (e.g. using Ant or Maven in the cas...
On a Linux system it is typical to type progname --help in order to view the help output for that program. After this you will see a description like: progname [SWITCHES] [FILES]... [ETC] My question is; is there a standardized syntax for his sort of (command-line use) documentation? In order to describe things like optional switches...
Is it somehow possible to pass values to NUnit tests via command line? My tests use a certain URL. I have different instances of my code at different URLs and would like to specify the URL via command line. App.config is not an option, because I want to run the tests for different URLs via a batch file. ...
I am working on a (Codehaus) Maven 2 Mojo. Unfortunately the logic called has a not compatible license and I have to fork a separate process (as it is done for Cobertura maven plugin). Forking itself is easy using org.codehaus.plexus.util.cli.Commandline and friends. The fork needs to be able to set thousands of arguments to the main m...
I am following apples Core Data Utility tutorial from http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreDataUtilityTutorial/Articles/00_introduction.html I have only just started it and have already encountered an error (more than likely my error, not anyone else's). Given the code #import <Foundation/Foundati...
When debugging or running command line applications from inside Visual Studio (2008 or 2010 in my case). It is possible to switch the default shell from cmd.exe to a something else? ...
I want to make the following kind of reference: "ls" command, for example, is universally available in most *nix environments. User can type in from anywhere to execute the scripts. So, I write script "x". I want to make sure that from wherever the user type in x, the actual script "x" is referenced. Thus, if I have script "x" stored...
Hi All, I want to create chrome extension crx file programatically (not using chrome.exe, because it opens new chrome window). So what are the alternatives for same ? My preference is java, but if its possible in other language then also I am okay. Thanks, Ankur Shah ...
I have a bunch of tests in my spec file and in this way I run just one of them: rake spec SPEC=spec/integration/gardens_spec.rb SPEC_OPTS="-e \"should foo\"" If there is any way to run 2-3 of them with a single command(let's call those testcases "should bar" & "should baz")? ...
I'd like to build all the configurations of a VS 2008 C++ project on the command line. Something like: devenv TheProject.vcproj /build /nologo But this doesn't work because the /build command insists on having a configuration following it like this: devenv TheProject.vcproj /build "Release|Win32" /nologo Is there a way to get...
In Windows, what is the maximum length of a command line string? Meaning if I specify a program which takes arguments on the command line such as abc.exe -name=abc A simple console application I wrote takes parameters via command line and I want to know what is the maximum allowable amount. ...
I have an script that will show some compress options to the user (gzip, zip, and bzip). Since this is meant to run on both Linux & Windows and the Zlib library won't be available I have to compress any files by using Unix commands. Of course, if the script runs on Windows it probably won't have any of the nice command line compress tool...
I need to quickly join a number of separate m4a files in to one large one. Is there any way to do so via CLI on in Mac OS X? ...
I have a simple Ruby program which takes the command line arguments and posts them to a server. However, I want to be able to write the # (pound, hash symbol) in my arguments without ruby trying to parse it. I'm not so familiar with Ruby. I know I can pass the arg with quotes, but I would like to know if it's possible without them. ARG...
Hi I've got an app that runs a long running process on the command line. Is there a recommended or good way to stream the output messages asynchonously to a web form so there's some indication of progress? A bit like TeamCity does for build scripts. Should I be polling a webservice? Using the OutputDataReceived event? Turning off buffe...
Is there a command-line program that can process pngs(and other formats) to make them 18bit 262k colors. Something like imageprocess -bpp 18bit ...
Hi, I am writing a commandline calculator in C, and it would be very useful if it had the ability to move the cursor each time you close (for example) a parenthesis highlighting the previous one, like in emacs, etc. For example, if you launch emacs, and type: (blah) then for a while after you type the closing parenthesis, the first ...
Ok, let's see if this all makes sense. Today, as I began working on a small project, I ran into an error I can't seem to get over. The function of the program I am working on is to read data from a pipe (which is the output of another program) and update an HWND ("edit") control dialog using WinAPI. Now, I've been successful at updating ...