diff options
author | 2006-08-09 10:45:59 +0000 | |
---|---|---|
committer | 2006-08-09 10:45:59 +0000 | |
commit | a3ed33b888f465980f8899a048aa5cc7f16bba19 (patch) | |
tree | b1ef63b1cf039633ab6ca51a5e122a0beccdadb1 /System | |
parent | 9901c046b1ddbc6d88bbdc25f923db5c43e3844a (diff) |
document args to executeFile
Diffstat (limited to 'System')
-rw-r--r-- | System/Posix/Process.hsc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/System/Posix/Process.hsc b/System/Posix/Process.hsc index 8a66a8f..f2c977a 100644 --- a/System/Posix/Process.hsc +++ b/System/Posix/Process.hsc @@ -264,10 +264,10 @@ foreign import ccall "forkProcess" forkProcessPrim :: StablePtr (IO ()) -> IO CP -- the command is passed to <function>execv*</function> as <varname>arg[0]</varname>; -- the argument list passed to <function>executeFile</function> therefore -- begins with <varname>arg[1]</varname>. -executeFile :: FilePath -- Command - -> Bool -- Search PATH? - -> [String] -- Arguments - -> Maybe [(String, String)] -- Environment +executeFile :: FilePath -- ^ Command + -> Bool -- ^ Search PATH? + -> [String] -- ^ Arguments + -> Maybe [(String, String)] -- ^ Environment -> IO () executeFile path search args Nothing = do withCString path $ \s -> |