Lines Matching refs:inputCmd
15 func callCompiler(env env, cfg *config, inputCmd *command) int {
18 if !filepath.IsAbs(inputCmd.Path) && !strings.HasPrefix(inputCmd.Path, ".") &&
19 !strings.ContainsRune(inputCmd.Path, filepath.Separator) {
20 if resolvedPath, err := resolveAgainstPathEnv(env, inputCmd.Path); err == nil {
21 inputCmd = &command{
23 Args: inputCmd.Args,
24 EnvUpdates: inputCmd.EnvUpdates,
32 exitCode, compilerErr = callCompilerInternal(env, cfg, inputCmd)
64 func callCompilerInternal(env env, cfg *config, inputCmd *command) (exitCode int, err error) {
65 if err := checkUnsupportedFlags(inputCmd); err != nil {
68 mainBuilder, err := newCommandBuilder(env, cfg, inputCmd)
271 func needStdinTee(inputCmd *command) bool {
273 for _, arg := range inputCmd.Args {
282 func prebufferStdinIfNeeded(env env, inputCmd *command) (getStdin func() io.Reader, err error) {
285 if !needStdinTee(inputCmd) {