INNER CODE UNIT · Go

err

aleibovici/cryptopump · main.go:270

				if path, err = os.Executable(); err != nil { /* Get the path of the executable */

					logger.LogEntry{ /* Log Entry */
						Config:   fh.configData,
						Market:   nil,
						Session:  fh.sessionData,
						Order:    &types.Order{},
						Message:  functions.GetFunctionName() + " - " + err.Error(),
						LogLevel: "DebugLevel",
					}.Do()

				}

				cmd := exec.Command(path) /* Spawn a new process */
				cmd.Stdout = os.Stdout    /* Redirect stdout to os.Stdout */
				cmd.Stderr = os.Stderr    /* Redirect stderr to os.Stderr */

				if err = cmd.Start(); err != nil { /* Start the new process */

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…