mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-04 07:31:01 +01:00
45 lines
1.2 KiB
ObjectPascal
45 lines
1.2 KiB
ObjectPascal
{ lNet FastCGI Spawner
|
|
|
|
CopyRight (C) 2006-2008 Ales Katona
|
|
|
|
This library is Free software; you can rediStribute it and/or modify it
|
|
under the terms of the GNU Library General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or (at your
|
|
option) any later version.
|
|
|
|
This program is diStributed in the hope that it will be useful, but WITHOUT
|
|
ANY WARRANTY; withOut even the implied warranty of MERCHANTABILITY or
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License
|
|
for more details.
|
|
|
|
You should have received a Copy of the GNU Library General Public License
|
|
along with This library; if not, Write to the Free Software Foundation,
|
|
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
This license has been modified. See File LICENSE.ADDON for more inFormation.
|
|
Should you find these sources without a LICENSE File, please contact
|
|
me at ales@chello.sk
|
|
}
|
|
|
|
unit lSpawnFCGI;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Sockets, lNet, lCommon;
|
|
|
|
function SpawnFCGIProcess(App, Enviro: string; const aPort: Word): Integer;
|
|
|
|
implementation
|
|
|
|
{$ifdef UNIX}
|
|
{$i lspawnfcgiunix.inc}
|
|
{$else}
|
|
{$i lspawnfcgiwin.inc}
|
|
{$endif}
|
|
|
|
end.
|
|
|