package com.infendro.shell object Shell { suspend fun run( command: Array, directory: String? = null, ): Result { return execute(command, directory) } class Result( val code: Int, val value: String, ) } internal expect suspend fun execute( command: Array, directory: String?, ): Shell.Result