Terminal Session: There was an error connecting to terminal. Error code: Error

Hello, I am getting the following error when the .WS file I specify in Terminal Session activity is in another location besides the project folder. I was planning to make this into a library since it’s used in different projects in our organization but it wouldn’t make much sense if the .WS file is also included in the package. Is there any way to make this work? Thank you in advance.

Connection failed : There was an error connecting to terminal. Error code: Error