de.tototec.sbuild.addons.support

ForkSupport

object ForkSupport

Provided various support functions for forking of processes.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ForkSupport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def asyncCopy(in: InputStream, out: OutputStream, immediately: Boolean = false): Thread

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def copy(in: InputStream, out: OutputStream, immediately: Boolean = false): Unit

    Copies an InputStream into an OutputStream.

    Copies an InputStream into an OutputStream. Does not close the streams.

  10. def copyInThread(in: InputStream, out: OutputStream): Thread

    Starts a new thread which copies an InputStream into an Output stream.

    Starts a new thread which copies an InputStream into an Output stream. Does not close the streams.

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def pathAsArg(paths: Seq[File]): String

    Converts a Seq of files into a string containing the absolute file paths concatenated with the platform specific path separator (":" on Unix, ";" on Windows).

  21. def runAndWait(command: Array[String], interactive: Boolean = false, errorsIntoOutput: Boolean = true, directory: File = new File("."), failOnError: Boolean = true, env: Map[String, String] = Map())(implicit project: Project): Int

    Run a command.

    Run a command.

    command

    The command and its arguments.

    interactive

    If true, the input stream is routed to the newly started process, to read user input.

    errorsIntoOutput

    If true, the error output stream of the started process is routed to its output stream.

    directory

    The working directory of the started process. Relative paths are relative to the project directory.

    failOnError

    If true the method will throw an RuntimeException if the return code is not 0.

    returns

    The return value of the Java process. Typically 0 indicated success whereas any other value is treated as error.

  22. def runJavaAndWait(classpath: Seq[File], arguments: Array[String], interactive: Boolean = false, errorsIntoOutput: Boolean = true, failOnError: Boolean = true, directory: File = new File("."))(implicit project: Project): Int

    Run the system default JVM with the given classpath and arguments.

    Run the system default JVM with the given classpath and arguments.

    classpath

    The classpath used by the JVM.

    arguments

    The arguments to the JVM. The first parameter should be the Java class containing a main method.

    interactive

    If true, the input stream is routed to the newly started process, to read user input.

    errorsIntoOutput

    If true, the error output stream of the started process is routed to its output stream.

    failOnError

    If true the method will throw an RuntimeException if the return code is not 0.

    directory

    The working directory of the started process. Relative paths are relative to the project directory.

    returns

    The return value of the Java process. Typically 0 indicated success whereas any other value is treated as error.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def whiteSpaceSeparated(seq: Seq[String]): String

    Concatetes the input string into a single white space separated string.

    Concatetes the input string into a single white space separated string. Any whitespace in the input strings will be masked with a backslash ("\").

Deprecated Value Members

  1. def copy(in: InputStream, out: OutputStream): Unit

    Copies an InputStream into an OutputStream.

    Copies an InputStream into an OutputStream. Does not close the streams.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0.9002) Only for binary backward compatibility. Don't use.

  2. def copyInThread(in: InputStream, out: OutputStream, immediately: Boolean = false): Thread

    Starts a new thread which copies an InputStream into an Output stream.

    Starts a new thread which copies an InputStream into an Output stream. Does not close the streams.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0.9002) Use asyncCopy instead

  3. def runAndWait(command: Array[String], interactive: Boolean, errorsIntoOutput: Boolean, directory: File)(implicit project: Project): Int

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0.9002) Only for binary backward compatibility. Don't use.

  4. def runAndWait(command: Array[String], interactive: Boolean)(implicit project: Project): Int

    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0.9003) Only for binary backward compatibility. Don't use.

  5. def runJavaAndWait(classpath: Seq[File], arguments: Array[String], interactive: Boolean, errorsIntoOutput: Boolean)(implicit project: Project): Int

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0.9002) Only for binary backward compatibility. Don't use.

  6. def runJavaAndWait(classpath: Seq[File], arguments: Array[String], interactive: Boolean)(implicit project: Project): Int

    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0.9003) Only for binary backward compatibility. Don't use.

  7. def runJavaAndWait(classpath: Seq[File], arguments: Array[String], interactive: Boolean, errorsIntoOutput: Boolean, failOnError: Boolean)(implicit project: Project): Int

    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.0.9000) Only for binary backward compatibility. Don't use.

Inherited from AnyRef

Inherited from Any

Ungrouped