On 16.04.2012 18:44, Pavel Masloff wrote:
Ralph, when I try to start a bat file using procServ under Windows 7
then I get this:
/C:\Users\Maslick\Downloads>procServ -L test2.txt 50010
c:\epics\apps\LINAC\startIoc.bat
procServ: Error - Please change permissions on
c:\epics\apps\LINAC\startIoc.bat to at least ---x--x--x
procServ is not able to continue without execute permission/
How can I set the bat file to be executable? Its attributes say it's
Full access (R,W).
Pavel,
on native Windows file systems, Cygwin has to fake the permission info
for files. So, obviously, the calls return no x bits for batch files.
(Which makes sense, in a way.)
I am usually starting the softIOC binary directly, which does not create
such a problem.
If you need to use a batch file, you might have to start command.com
(which is a real executable) with the batch file as first argument. You
could also try specifying command.com as the executable using the
command line option.
Good luck!
~Ralph
ps. Please drop me a line if you get it working, so I can add the
solution to the README.