shell() and pdftotext
sean at pidigital.co.uk
Mon Jan 13 22:37:23 EST 2020
Shell() always uses the default folder path. Example (mac/Linux):
Set the defaultFolder to specialFolderPath(“home”)
Set the defaultFolder to specialFolderPath(“documents”)
I put any non native shell commands I want into my engine path, especially for standalones.
Pi Digital Prod Ltd
> On 13 Jan 2020, at 18:25, doc hawk via use-livecode <use-livecode at lists.runrev.com> wrote:
> To elaborate further, if you can use pdftotext from the command line, but this is failing, it is because the path declared for your login shell is not getting picked up, or a different shell is being used by livedcode.
> Come to think of it, I have *no* idea which shell livecode defaults to—I’d assume the system default, which sometimes varies over versions of a particular OS.
> So if you use tcsh, but your system defaults to bash, all of those customizations and variables that apply at the command line may not come into play.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode