pibakery
pibakery copied to clipboard
Custom Scripts Block
Great Work,
Can there be a feature for adding a custom scripts, like for example running a nodejs script?
Thanks.
Do you mean a block where you can paste in a large block of text, and it would be saved as a file?
@davidferguson not really, but custom commands.
Like a shell script for example
Like running a script? There is the Run command block, which allows you to input a command to run (such as touch /boot/test or mkdir -p /my/new/directory) is this what you are meaning?
Run command should work for what denzel needs, I use it a lot to create all kinds of things I just wish I could assign a description/title to it.
Hello Guys,
I needed to run nodejs scripts after installation and startup.
The new pi Pixel OS comes with Nodejs pre-installed.
Let me give it a try and update you guys.
On Thu, Nov 10, 2016 at 1:07 AM, Felix Rusu [email protected] wrote:
Run command should work for what denzel needs, I use it a lot to create all kinds of things I just wish I could assign a description/title to it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davidferguson/pibakery/issues/44#issuecomment-259540584, or mute the thread https://github.com/notifications/unsubscribe-auth/AGOuF4htCYm94wk48aO-CeSZkkKfQ5Xsks5q8kQjgaJpZM4KBk9z .
Do you mean a block where you can paste in a large block of text, and it would be saved as a file?
That doesn't sound like it's what he meant, but I for one could really use such a block. I have a ~40 line shell script I need to run on startup and adding 40 individual command blocks is a bit much. Alternatively, having the ability to copy any local file to a directory in the image would probably be useful in more instances.