What are all of the options for running a Proess? lazarus / 9-Editor ---------------------------------------------------------------------- Danail · 2006-07-20 09:09 So? ---------------------------------------------------------------------- CCRDude · 2006-07-20 11:26 So? Running an application created with Lazarus as a process? From within Lazarus, with or without debugging, or in general? Starting a process from within a Lazarus application? Doing so on Windows? Doing so on Linux? While drinking a Bud or while drinking a Coors? Sitting on a chair or working at a standing desk? Do you have some more words left to specify your question? ---------------------------------------------------------------------- Marc · 2006-07-20 11:57 Did you read this wiki link ? http://wiki.lazarus.freepascal.org/index.php/Executing_External_Progra ms ---------------------------------------------------------------------- Danail · 2006-10-04 12:40 Maybe I was not enough clear because of my bad english. Here is my question again: I know the TProcess object. I know that with this object can be run programs in windows and Linux. I also know how to use it. My question is: AProcess.Options := AProcess.Options + [poWaitOnExit]; {what can be written here - what can all possible AProcess.Options } ---------------------------------------------------------------------- theo · 2006-10-04 13:26 You have the source code. Why not have a look at it? See in "process.pas":   TProcessOption = (poRunSuspended,poWaitOnExit,                     poUsePipes,poStderrToOutPut,                     poNoConsole,poNewConsole,                     poDefaultErrorMode,poNewProcessGroup,                     poDebugProcess,poDebugOnlyThisProcess); ---------------------------------------------------------------------- Danail · 2006-10-04 13:28 Thanks Teo ---------------------------------------------------------------------- Vincent Snijders · 2006-10-04 13:29 See also the docs: http://lazarus- ccr.sourceforge.net/docs/fcl/process/tprocess.options.html Or press F1 in lazarus, while connected to the internet.