public sealed class Runnable.Types.Script : IMessage<Runnable.Types.Script>, IEquatable<Runnable.Types.Script>, IDeepCloneable<Runnable.Types.Script>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1alpha API class Runnable.Types.Script.
To specify an interpreter, please add a #!<interpreter>(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 executed by
/bin/sh.
To specify an interpreter, please add a #!<interpreter>\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 executed by /bin/sh.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e class within the Batch v1alpha API, specifically for version 1.0.0-alpha30, including its inheritance, implementation, namespace, and assembly details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRunnable.Types.Script\u003c/code\u003e class is a sealed class that serves as a script runnable and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, \u003ccode\u003eScript()\u003c/code\u003e and \u003ccode\u003eScript(Runnable.Types.Script other)\u003c/code\u003e, along with properties \u003ccode\u003eCommandCase\u003c/code\u003e, \u003ccode\u003eHasPath\u003c/code\u003e, \u003ccode\u003eHasText\u003c/code\u003e, \u003ccode\u003ePath\u003c/code\u003e, and \u003ccode\u003eText\u003c/code\u003e for managing script execution, file paths, and script text.\u003c/p\u003e\n"],["\u003cp\u003eThe script can be specified either as a file path (\u003ccode\u003ePath\u003c/code\u003e) or directly as text (\u003ccode\u003eText\u003c/code\u003e), with the option to define an interpreter using a shebang line (e.g., \u003ccode\u003e#!/bin/bash\u003c/code\u003e) at the start of the script; otherwise, it defaults to \u003ccode\u003e/bin/sh\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 1.0.0-alpha31, and the document pertains to version 1.0.0-alpha30.\u003c/p\u003e\n"]]],[],null,[]]