How to call a bash script from a basic function (macro)
i am trying to find the way to call a simple bash script from a macro of my calc document.
i ‘ve hard with this instruction:
session.RunApplication(“Shell”, “/usr/local/bin/essai-macro-bavard.sh ‘” & #str1 & “‘”)
i’ve tried a lot of combinations.
i’ve finished by puting the script under my $PATH, in order to assimilate the script to a kind of system command.
Not “/usr/local/bin/essai-macro-bavard.sh …” nor “essai-macro-bavard.sh” works.
How to call a bash script from a basic function (macro)
i am trying to find the way to call a simple bash script from a macro of my calc document.
i ‘ve hard with this instruction:
session.RunApplication(“Shell”, “/usr/local/bin/essai-macro-bavard.sh ‘” & #str1 & “‘”)
i’ve tried a lot of combinations.
i’ve finished by puting the script under my $PATH, in order to assimilate the script to a kind of system command.
Not “/usr/local/bin/essai-macro-bavard.sh …” nor “essai-macro-bavard.sh” works.
How to call a bash script from a basic function (macro)
i am trying to find the way to call a simple bash script from a macro of my calc document.
i ‘ve hard with this instruction:
session.RunApplication(“Shell”, “/usr/local/bin/essai-macro-bavard.sh ‘” & #str1 & “‘”)
i’ve tried a lot of combinations.
i’ve finished by puting the script under my $PATH, in order to assimilate the script to a kind of system command.
Not “/usr/local/bin/essai-macro-bavard.sh …” nor “essai-macro-bavard.sh” works.