documentation of run.exe

Alexander Gottwald alexander.gottwald@s1999.tu-chemnitz.de
Tue Nov 8 15:00:00 GMT 2005


On Tue, 2005-11-08 at 09:44 -0400, Rodrigo Medina wrote:
> Hi,
> Where can be found the documentation of run?

No one has written one so far. Lets try with this one:

RUN(1)              	User Commands                     RUN(1)

NAME
	run - start programs with hidden console

SYNOPSIS
        run [-p path] command [-wait] arguments

	runcommand [-p path] [-wait] argument

DESCRIPTION
	Windows programs are either GUI programs or console programs. 
	When  started, console  programs  will  either  attach  to an
	existing console or create a new one. GUI programs can  never
	attach to an exiting console. There is no way to attach to an
	existing console but hide it if started as GUI program.

	run will do this for you. It works  as intermediate and starts
	a program but makes the console window hidden.

	With -p path you can add path to the PATH environment variable.

	Issuing -wait as first program  argument will make run wait for
	program completition, otherwise it returns immediately.

	The second variant is for  creating wrappers. If the executable
	is named  runcommand (eg runemacs), run  will try  to start the
	program (eg emacs).

EXAMPLES
	run -p /usr/X11R6/bin xterm

	run emacs -wait
	runemacs -wait

	run make -wait 

bye
	ago
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20051108/94874ba3/attachment.sig>


More information about the Cygwin-xfree mailing list