Subject Re: Start/Stop FB from a program
Author Adam
--- In firebird-support@yahoogroups.com, "kimon_the_athenian2"
<kimon_the_athenian2@y...> wrote:
>
> Hi!
>
> How should I start FB server on windows as an application from
> another (delphi) application?
>
> WinExec?, ShellExecute?, CreateProcess?
>
> And how to shutdown server safely from the same application?
> TerminateProcess seems to be able to do this but it seems to be too
> harsh.
>
> thanks in advance!
>
> Aivar


net stop "Firebird Server - Default Instance"
net start "Firebird Server - Default Instance"

Out of curiousity, why shut it down at all?