This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
cygrunsrv --chdir bug
- To: cygwin at cygwin dot com
- Subject: cygrunsrv --chdir bug
- From: Pavel Kudrna <Pavel dot Kudrna at mff dot cuni dot cz>
- Date: Thu, 18 Oct 2001 20:04:55 +0200
Hi,
cygrunsrv doesn't behave like --help says:
$ cygrunsrv -I AAAservice -p /bin/bash -a "any_arguments"
This is OK. It sets "AppArgs" value in registry to "any_arguments".
Let's remove the "AAAservice" service
$ cygrunsrv -R AAAservice
and try the same like above but with working directory specified
$ cygrunsrv -I AAAservice -p /bin/bash -a "any_arguments" -c /
option -c (or --chdir) sets the registry value "AppArgs" to "/" and
the value specified after --args option is lost!
Pavel Kudrna.
$ cygrunsrv -v
cygrunsrv V0.94, Jul 11 2001
$ ls -l /bin/cygrunsrv.exe
-rwxrwxr-x 1 kudrna Administ 33280 Jul 11 15:00 /bin/cygrunsrv.exe
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/