I simply want to source KSH with:
. ./.kshrc
within an expect script.
Is it possible to source KSH and run a KSH command within an expect script?
I simply want to source KSH with:
. ./.kshrc
within an expect script.
Is it possible to source KSH and run a KSH command within an expect script?
Sure, just launch a ksh interpreter to run it in:
exec ksh -c {. ./.kshrc; some_command}