ExternalCommand
io.shiftleft.semanticcpg.utils.ExternalCommand
object ExternalCommand extends ExternalCommandImpl
Attributes
- Graph
-
- Supertypes
- Self type
-
ExternalCommand.type
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- ExternalCommandImpl
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Inherited methods
Finds the absolute path to the executable directory (e.g. /path/to/javasrc2cpg/bin). Based on the package path of a loaded classfile based on some (potentially flakey?) filename heuristics. Context: we want to be able to invoke the x2cpg frontends from any directory, not just their install directory, and then invoke other executables, like astgen, php-parser et al.
Finds the absolute path to the executable directory (e.g. /path/to/javasrc2cpg/bin). Based on the package path of a loaded classfile based on some (potentially flakey?) filename heuristics. Context: we want to be able to invoke the x2cpg frontends from any directory, not just their install directory, and then invoke other executables, like astgen, php-parser et al.
Attributes
- Inherited from:
- ExternalCommandImpl
def run(command: Seq[String], workingDir: Option[String], mergeStdErrInStdOut: Boolean, extraEnv: Map[String, String], isShellCommand: Boolean, timeout: Duration): ExternalCommandResult
Attributes
- Inherited from:
- ExternalCommandImpl
In this article