Starting Linux programs

Kernel, Loader, code execution and working with memory

Starting Linux programs

Postby Zinn » Mon Apr 13, 2020 3:59 pm

How to start from BlackBox the Linux terminal program and run a command in Terminal?
Where can I find samples?
Thank you very much for any hints.
- Helmut
Zinn
 
Posts: 83
Joined: Mon Nov 24, 2014 10:47 am
Location: Frankfurt am Main

Re: Starting Linux programs

Postby Ivan Denisov » Wed Apr 22, 2020 2:54 pm

Simple way it to use
Dialog.RunExternal

Code: Select all
MODULE DemoRun;
   IMPORT  Dialog;
   
   PROCEDURE Do*;
   BEGIN
      Dialog.RunExternal('mkdir /home/dia/blackbox/test')
   END Do;

END DemoRun.
User avatar
Ivan Denisov
 
Posts: 283
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia


Return to System

Who is online

Users browsing this forum: No registered users and 0 guests