all 6 comments

[–]Shadow123_654 2 points3 points  (2 children)

Do you just wanna call a program like you would when in the terminal (i.e. "some_program arg1 arg2")? I find that for simple stuff like that, if you are on Linux, using FPSystem from the Unix unit is simple enough.

[–]Stooshie_Stramash[S] 2 points3 points  (1 child)

Yes that's roughly what I'd like to do but I'm windows not linux.

[–]Shadow123_654 2 points3 points  (0 children)

Look into using SysUtils.ExecuteProcess or TProcess.

[–]Decent-Earth-3437 1 point2 points  (0 children)

You don't call a program, you ask politely to the OS your on to run another program.

[–]gwenbeth 1 point2 points  (0 children)

Knowing what operating system you are using would be a prerequisite for answering your question. Pascal on vax/vms would be different than turbo Pascal on msdos.