-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple commands #9
Comments
@DivineOmega hope you can help on this. |
@vik0803 Hi there. Try running the commands individually and calling Alternatively it may just be loosing track of the current active directory. In which case you could try concatenating your commands using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I tried to use your package but it works well for every single command but when I use it within the for loop and have multiple commands in array it doesn't work as needed.
Eg:
cd /var/www/html
mkdir abc
cd abc
touch index.html
now if we execute inflow it should create index.html file in /var/www/html/abc folder.
but whereas using ssh connection in for loop it does create index.html file in /home/ubuntu folder.
content of /home/ubuntu folder is as below
folder:
abc
file
index.html
Appreciate your help if you can guide me to use it as above solution that I am looking forward for.
The text was updated successfully, but these errors were encountered: