ScriptResponse

data class ScriptResponse(val path: String, val text: String)

Script runnable.

Constructors

Link copied to clipboard
constructor(path: String, text: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash, #!/bin/bash should be the first line of the file. To execute the script usingPython3, #!/usr/bin/env python3 should be the first line of the file.) Otherwise, the file will by default be excuted by /bin/sh.

Link copied to clipboard

Shell script text. To specify an interpreter, please add a #!\n at the beginning of the text.(For example, to execute the script using bash, #!/bin/bash\n should be added. To execute the script usingPython3, #!/usr/bin/env python3\n should be added.) Otherwise, the script will by default be excuted by /bin/sh.