Hi,
I'm using a MinGW-based GCC cross-compiler to compile a project which uses SCons as its build system.
The Python is a native 2.6.2 version, not specifically compiled for MinGW (or Cygwin).
However, I am running into a problem with the build:
F:/pedigree/compilers/bin/i686-elf-gcc -o build\src\user\applications\apptest\ma
in.obj -...
I'm creating a c# winforms project that can be run as a GUI or can be operated from the command line. Currently, I can process command line input and arguments. I can run the program from command line and I can use the program to process the arguments. But Console.Writeline() does absolutely nothing. Any clue why that could be?
...
It seems random: after some amount of time / usage of any console I use on Windows Vista, I lose the ability to use the command-line history (or command buffer, if you prefer...), and hitting the up or down arrow no longer does anything at all, meaning there are essentially 0 items available in the history.
I've seen this behavior in Cy...
I'm running the Python CLI under Linux:
bla:visualization> python
Python 2.1.1 (#18, Nov 1 2001, 11:15:13)
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>>
For some reason the arrow keys and the delete key don't work:
delete:
>>> x^H^H^H
up arrow:...
I have a huge SQL file that gets executed on the server. The dump is from my machine and in it there are a few settings relating to my machine. So basically, I want every occurance of "c://temp" to be replace by "//home//some//blah"
How can this be done from the command line?
...
Is there a way to parse input and output from bash commands in an interactive terminal before they reach the screen ? I was thinking maybe something in .bashrc, but I'm new to using bash.
For example:
I type "ls /home/foo/bar/"
That gets passed through a script that replaces all instances of 'bar' with 'eggs'
"ls /home/foo/eggs/" gets...
In python, one can trace all the statements that are executed by a command line script using the trace module. In bash you can do the same with set -x. We have a PHP script that we're running from the command line, like a normal bash / python / perl / etc script. Nothing web-y is going on.
Is there anyway to get a trace of all the lines...
php on the command line tells me that it has an option:
-e Generate extended information for debugger/profiler
However by running my command line script with that I see nothing... what's that option for?
...
In C# WPF: I want to execute a CMD command, how exactly can I execute a cmd command programmatically?
...
When I open cmd.exe in Windows, what encoding is it using? How can I check which encoding it is currently using? Does it depend on my regional setting or are there any environment variables to check?
What happens when you type a file with a certain encoding? Sometimes I get garbled characters (incorrect encoding used) and sometimes it k...
How do I use maven command line to determine which settings.xml file Maven is picking up?
...
I want to fire a commandline exe with the parameters entered in GUI.
The Process class can be used to fork my required commandline process from the java application. And I used the getInputStream() method of Process object to get the result and got it displayed in the GUI.
private void confirmActionPerformed(java.awt.event.ActionEvent ...
I generally use perl one liners instead of grep to search through files.
For example following prints all the locations containing #include <stdio.h>
perl -ne "print if(/#include\s*[\"<]stdio.h/)" */*.[ch]
But I could not find a way to print the filename that got these lines. I tried to print $ARGV[0] but no avail.
So, how do you pr...
Could there be any obvious reason why a Java program I run from the Eclipse IDE's output is different from what I get if I do the same with the command line in Windows (XP)? I am using the JDK 1.6.0_04 and Eclipse 3.4.0
The program creates threads and then tests a locking algorithm. In Eclipse, the threads do not interfere with each oth...
How do you find out the last log-in time for a windows machine(any user) through powershell?
...
Hi all,
Is it possible to set environmental variables in a build profile as opposed to setting them in the command line?
For instance, I want to enable the debugger when I'm using my test environment (-Denv=test).
I want maven to do this:
export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=...
I am searching for a tool that behaves similarly to Unix's expect tool (or at least, its main function).
I want to automate command-line interactive programs with it.
EDIT:
I am preferring single executables or small apps without big multi megabyte depencies.
Ty.
...
I've been working on spooling a bat file from a oracle query that would copy contents from one location to another,
Now that command that are getting generated are of lengths that are greater than 255 characters, e.g
C:> copy x y ( where len (x+y) > 255)
As this is throwing an error, is there a work around to manage this kind of sit...
I am wondering, i like 7z compression but how do i compress data only? i dont want a file in the archive with file info. Just raw data, how can i do this? it would also be nice if i can remove headers too but that isnt necessary.
...
Hi,
Is there a way to check out from CVS using windows command line (cmd) given the branch, package and destination dir?
thanks :)
Oded
...