How to execute bash .sh file from primalscript

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 7 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
painter343
Posts: 2
Last visit: Wed Nov 17, 2021 1:27 am

How to execute bash .sh file from primalscript

Post by painter343 »

Product, version and build: PrimalScript 2016,
32 or 64 bit version of product: 64bit
Operating system: Windows 10
32 or 64 bit OS: 64bi5

Are there any guides on how to run a bash script using primalscript on Windows?

My setup is: Windows 2008 R2, Powershell 4 and PrimalScript 2016

Thanks,
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: How to execute bash .sh file from primalscript

Post by Alexander Riedel »

There will be blog post about this subject tomorrow morning. Please stand by. I will add the link here once the post is published.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
painter343
Posts: 2
Last visit: Wed Nov 17, 2021 1:27 am

Re: How to execute bash .sh file from primalscript

Post by painter343 »

Hey Alex,

This is excellent! I just read your blog about running bash in windows. I had managed to get it working a few days ago, however, I didn't know about the ASCII encoding - good tip!

I wish you guys would do more of these blogs about PrimalScript - similar to what June Blender is doing for PowerShell studio. I think she's doing a great job showing users these things that might appear simple but make all the difference to one's workflow to Powershell studio.

Keep up the good work on the tool and especially the blogs about using the tools.

Regards,
This topic is 7 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.