How can I give a value back to program that start me? lazarus / 1-Linux ---------------------------------------------------------------------- Fred556 · 2009-11-03 14:10 Hello, how can I give a value back to program that start me? A simple string is enough or a errorlevel in pure FPC code. Thank you very much... ---------------------------------------------------------------------- theo · 2009-11-03 15:05 Do you mean like this? WriteLn('response'); or WriteLn(StdErr,'error'); ---------------------------------------------------------------------- Fred556 · 2009-11-03 15:14 Hello, thank you for your replay. I mean on Linux and way Win32. When a other program start my program. How can I give the other program information back? ---------------------------------------------------------------------- Marc · 2009-11-03 22:41 you can also assign a value the the ExitCode variable. This is the same as the DOS errorlevel