summary refs log tree commit diff stats
path: root/nim/osproc.pas
blob: dd6bd10f00248fb27f135932ace95335c8e933f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
//
//           The Nimrod Compiler
//        (c) Copyright 2009 Andreas Rumpf
//
//    See the file "copying.txt", included in this
//    distribution, for details about the copyright.
//
unit osproc;

// This module provides Nimrod's osproc module in Pascal
// Note: Only implement what is really needed here!

interface

{$include 'config.inc'}

uses
  nsystem, nos;

function executeCommand(const cmd: string): int;

implementation

function executeCommand(const cmd: string): int;
begin
  result := executeShellCommand(cmd);
end;

end.