Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-05

TProcess capability to run app bundles

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

Hello,

I was thinking. Which design should be used to add support in TProcess for running app bundles? I suppose a new routine, ExecuteBundle, for example. Or else checking if we are trying to run a directory?

thanks,

Felipe Monteiro de Carvalho

Reply by email

Jonas Maebe
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote
I was thinking. Which design should be used to add support in TProcess for running app bundles? I suppose a new routine, ExecuteBundle, for example. Or else checking if we are trying to run a directory?

I'm not sure whether TProcess is the right abstraction. A bundled application does not have command line arguments, standard input, output, a console window, a current/working directory (that one is set by the OS) and moreover normally you never wait for such an application to finish, so almost none of the existing functionality of TProcess would work (or even make sense) when executing a bundle.

Jonas

Reply by email