opp_runall -n / NEDPATH

21 views
Skip to first unread message

Andrew Hardy

unread,
Jun 20, 2013, 7:06:52 AM6/20/13
to omn...@googlegroups.com

I am using runopp_all

I have the nedpath using the -n option with something like

... -u Cmdenv -n .;../src;../../inetmanet_a/src -f my.ini -c ...

and I get script failure

sh: ../src: is a directory
sh ../../inetmanet_a/src: is a directory

I am a little confused...

Aren't they supposed to be directories?

________________________________
Important Notice: the information in this email and any attachments is for the sole use of the intended recipient(s). If you are not an intended recipient, or a person responsible for delivering it to an intended recipient, you should delete it from your system immediately without disclosing its contents elsewhere and advise the sender by returning the email or by telephoning a number contained in the body of the email. No responsibility is accepted for loss or damage arising from viruses or changes made to this message after it was sent. The views contained in this email are those of the author and not necessarily those of Liverpool John Moores University.

Rudolf Hornig

unread,
Jun 20, 2013, 5:46:46 PM6/20/13
to omn...@googlegroups.com
Yes they are supposed to be directories, but you are using ; (semicolon) for the path separator which is actually separating commands in a bash shell (i.e. in mingwenv). You should use : 

i.e. the shell executed the command until the first ; then took the next command which was ../src and it tried to execute and complained that it cannot execute it, because its a folder ...
Rudolf
Reply all
Reply to author
Forward
0 new messages