Starting Linux programs

Kernel, Loader, code execution and working with memory
Post Reply
Zinn
Posts: 123
Joined: Mon Nov 24, 2014 10:47 am
Location: Frankfurt am Main
Contact:

Starting Linux programs

Post by Zinn »

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
User avatar
Ivan Denisov
Posts: 362
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Starting Linux programs

Post by Ivan Denisov »

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.
Post Reply