Page 1 of 1

sFTP using Expect tool

Posted: Tue Aug 29, 2023 1:49 pm
by amit12.work
Hi Scott,

My goal is to connect IBM i to Google Uploads Server (partnerupload.google.com). I am trying to do this using Expect tool. The Expect is installed on my IBM i machine. I wrote a program to use EXPECT tool. I get following error on the 'spawn' command.

Tcl_WaitForEvent: unable to start notifier thread
qsh: 001-0078 Process ended by signal 5.

I am not sure why I get this error. Is there anything related to my profile? What is causing this problem?

Re: sFTP using Expect tool

Posted: Wed Sep 06, 2023 5:01 pm
by Scott Klement
Perhaps you are running in an environment that isn't enabled for multiple threads?

Re: sFTP using Expect tool

Posted: Wed Aug 13, 2025 5:40 pm
by Jack72
Hi Scott, I'm facing the same issue.

What do you mean when you say that the environment isn't enabled for multiple threads?
What should I do to fix it?

Thanks in advance

Re: sFTP using Expect tool

Posted: Fri Aug 15, 2025 1:14 am
by Scott Klement
ADDENVVAR ENVVAR(QIBM_MULTI_THREADED) VALUE(Y) prior to runing QShell.

*if* that's the problem. IF not, then troubleshoot and determine the problem.