Я хочу внедрить "
Код: Выделить всё
hello_world.shКод: Выделить всё
helloworldВот src/hello_world.sh
Код: Выделить всё
#!/bin/bash
echo "Hello World in hello_world.sh"
Код: Выделить всё
#include
int main()
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79646424/how-to-run-embedded-bash-script-as-resource-from-c-executable-in-linux[/url]
Мобильная версия