Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- readCreateProcessWithExitCode' :: CreateProcess -> IO (ExitCode, String)
- readCreateProcessWithExitCode' :: CreateProcess -> IO (ExitCode, String)
- replaceVar :: (String, String) -> [(String, String)] -> [(String, String)]
- replaceVar :: (String, String) -> [(String, String)] -> [(String, String)]
- readProcessEnvWithExitCode :: String -> [String] -> (String, String) -> IO (ExitCode, String, String)
- readProcessEnvWithExitCode :: String -> [String] -> (String, String) -> IO (ExitCode, String, String)
- c_locale_env :: (String, String)
- c_locale_env :: (String, String)
- getGccEnv :: [Option] -> IO (Maybe [(String, String)])
- getGccEnv :: [Option] -> IO (Maybe [(String, String)])
- runSomething :: DynFlags -> String -> String -> [Option] -> IO ()
- runSomething :: DynFlags -> String -> String -> [Option] -> IO ()
- runSomethingResponseFile :: DynFlags -> (String -> String) -> String -> String -> [Option] -> Maybe [(String, String)] -> IO ()
- runSomethingResponseFile :: DynFlags -> (String -> String) -> String -> String -> [Option] -> Maybe [(String, String)] -> IO ()
- runSomethingFiltered :: DynFlags -> (String -> String) -> String -> String -> [Option] -> Maybe FilePath -> Maybe [(String, String)] -> IO ()
- runSomethingFiltered :: DynFlags -> (String -> String) -> String -> String -> [Option] -> Maybe FilePath -> Maybe [(String, String)] -> IO ()
- runSomethingWith :: DynFlags -> String -> String -> [Option] -> ([String] -> IO (ExitCode, a)) -> IO a
- runSomethingWith :: DynFlags -> String -> String -> [Option] -> ([String] -> IO (ExitCode, a)) -> IO a
- handleProc :: String -> String -> IO (ExitCode, r) -> IO r
- handleProc :: String -> String -> IO (ExitCode, r) -> IO r
- builderMainLoop :: DynFlags -> (String -> String) -> FilePath -> [String] -> Maybe FilePath -> Maybe [(String, String)] -> IO ExitCode
- builderMainLoop :: DynFlags -> (String -> String) -> FilePath -> [String] -> Maybe FilePath -> Maybe [(String, String)] -> IO ExitCode
- readerProc :: Chan BuildMessage -> Handle -> (String -> String) -> IO ()
- readerProc :: Chan BuildMessage -> Handle -> (String -> String) -> IO ()
- parseError :: String -> Maybe (String, Int, Int, String)
- parseError :: String -> Maybe (String, Int, Int, String)
- breakColon :: String -> Maybe (String, String)
- breakColon :: String -> Maybe (String, String)
- breakIntColon :: String -> Maybe (Int, String)
- breakIntColon :: String -> Maybe (Int, String)
- data BuildMessage
- linesPlatform :: String -> [String]
- linesPlatform :: String -> [String]
Documentation
readCreateProcessWithExitCode' Source #
:: CreateProcess | |
-> IO (ExitCode, String) | stdout |
readCreateProcessWithExitCode' Source #
:: CreateProcess | |
-> IO (ExitCode, String) | stdout |
readProcessEnvWithExitCode Source #
:: String | program path |
-> [String] | program args |
-> (String, String) | addition to the environment |
-> IO (ExitCode, String, String) | (exit_code, stdout, stderr) |
Version of System.Process.readProcessWithExitCode
that takes a
key-value tuple to insert into the environment.
readProcessEnvWithExitCode Source #
:: String | program path |
-> [String] | program args |
-> (String, String) | addition to the environment |
-> IO (ExitCode, String, String) | (exit_code, stdout, stderr) |
Version of System.Process.readProcessWithExitCode
that takes a
key-value tuple to insert into the environment.
c_locale_env :: (String, String) Source #
c_locale_env :: (String, String) Source #
runSomethingResponseFile :: DynFlags -> (String -> String) -> String -> String -> [Option] -> Maybe [(String, String)] -> IO () Source #
Run a command, placing the arguments in an external response file.
This command is used in order to avoid overlong command line arguments on Windows. The command line arguments are first written to an external, temporary response file, and then passed to the linker via @filepath. response files for passing them in. See:
https://gcc.gnu.org/wiki/Response_Files https://ghc.haskell.org/trac/ghc/ticket/10777
runSomethingResponseFile :: DynFlags -> (String -> String) -> String -> String -> [Option] -> Maybe [(String, String)] -> IO () Source #
Run a command, placing the arguments in an external response file.
This command is used in order to avoid overlong command line arguments on Windows. The command line arguments are first written to an external, temporary response file, and then passed to the linker via @filepath. response files for passing them in. See:
https://gcc.gnu.org/wiki/Response_Files https://ghc.haskell.org/trac/ghc/ticket/10777
runSomethingFiltered :: DynFlags -> (String -> String) -> String -> String -> [Option] -> Maybe FilePath -> Maybe [(String, String)] -> IO () Source #
runSomethingFiltered :: DynFlags -> (String -> String) -> String -> String -> [Option] -> Maybe FilePath -> Maybe [(String, String)] -> IO () Source #
runSomethingWith :: DynFlags -> String -> String -> [Option] -> ([String] -> IO (ExitCode, a)) -> IO a Source #
runSomethingWith :: DynFlags -> String -> String -> [Option] -> ([String] -> IO (ExitCode, a)) -> IO a Source #
builderMainLoop :: DynFlags -> (String -> String) -> FilePath -> [String] -> Maybe FilePath -> Maybe [(String, String)] -> IO ExitCode Source #
builderMainLoop :: DynFlags -> (String -> String) -> FilePath -> [String] -> Maybe FilePath -> Maybe [(String, String)] -> IO ExitCode Source #
readerProc :: Chan BuildMessage -> Handle -> (String -> String) -> IO () Source #
readerProc :: Chan BuildMessage -> Handle -> (String -> String) -> IO () Source #
data BuildMessage Source #
linesPlatform :: String -> [String] Source #
linesPlatform :: String -> [String] Source #