On 09/04/10 11:35, Przemysław Czerpak wrote:
On Fri, 09 Apr 2010, Przemysław Czerpak wrote:

Hi,

it should look. Your comment above suggests that it should be enough
to make:
    cCmd := '/bin/sh'
    cArgs := '-c ". /home/baz/tmp/ahrl8i.sh&&  hbmk2 /home/baz/hash/ash.hbp"'
    cArgs += ' -q -trace -info -lang=en'

Sorry, stupid typo, it should be:
    cCmd := '/bin/sh'
    cArgs := '-c ". /home/baz/tmp/ahrl8i.sh&&  hbmk2 /home/baz/hash/ash.hbp' + ;
             ' -q -trace -info -lang=en"'

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Hi Przemek,
Thanks for your input - well explained as always!
I am struggling to follow your use of quotes in cArgs above.
Is that correct?

I have hacked the calling routine to test it and get:-

/bin/sh: ' -c . "/home/baz/tmp/5qwnv4.sh && hbmk2 /home/baz/hash/ash.hbp' + ' -q -trace -info -lang=en "': No such file or directory

I can get this to run OK from the command line, but not yours.

sh -c ". /home/baz/tmp/test.sh && hbmk2 /home/baz/hash/ash.hbp -q -trace -info -lang=en "

Note . is inside the quotes.

(temp.sh is similar to the other transitory scripts)

Rgds,
Barry
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to