842 views
in Embedded Wizard Studio by
Is possible to run some sort of script from Embedded Wizard studio?? How??
by
rephrase my question: 
I would like to run a .sh script on my raspberry, using my emebdded wizard application. I tried to include libraries like stdlib and use the system's command, but it is not recognize by embedded and it gives me an error, how can do??

1 Answer

0 votes
by

[SOLVED]
For include standard library for the gcc compiler, it's enought to declare in the block inline:

#include <stdlib.h>      //Between <> because, Embedded wizard search in the compiler's directory this tsandard library without manually including this files

After this, use command, in Device Class:

system("command that you want to use in linux");

 

"

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...