Re: Error with .sh within .sh called thru WinSCP
WinSCP (and Plink) uses (have to) non-interactive terminal.
So different set of startup scripts (or different branches in startup scripts) are executed. What possibly results in different search paths (
Fix your startup scripts to set the same
So different set of startup scripts (or different branches in startup scripts) are executed. What possibly results in different search paths (
PATH
) being set.
Fix your startup scripts to set the same
PATH
for both interactive and non-interactive sessions.