diff --git a/src/main/kotlin/org/move/cli/runConfigurations/aptos/Aptos.kt b/src/main/kotlin/org/move/cli/runConfigurations/aptos/Aptos.kt index 4e2d462e..a577857c 100644 --- a/src/main/kotlin/org/move/cli/runConfigurations/aptos/Aptos.kt +++ b/src/main/kotlin/org/move/cli/runConfigurations/aptos/Aptos.kt @@ -184,7 +184,7 @@ data class Aptos(val cliLocation: Path, val parentDisposable: Disposable?): Disp ): RsProcessResult { return commandLine .toGeneralCommandLine(this.cliLocation) - .execute(innerDisposable, stdIn = null, listener = listener, runner = runner) + .execute(innerDisposable, listener = listener, runner = runner) } override fun dispose() {} diff --git a/src/main/kotlin/org/move/openapiext/CommandLineExt.kt b/src/main/kotlin/org/move/openapiext/CommandLineExt.kt index 71790366..b8b7b1f4 100644 --- a/src/main/kotlin/org/move/openapiext/CommandLineExt.kt +++ b/src/main/kotlin/org/move/openapiext/CommandLineExt.kt @@ -40,7 +40,6 @@ fun GeneralCommandLine.execute(): ProcessOutput? { /// `owner` parameter represents the object whose lifetime it's using for the process lifetime fun GeneralCommandLine.execute( owner: CheckedDisposable, - stdIn: ByteArray? = null, runner: CapturingProcessHandler.() -> ProcessOutput = { runProcessWithGlobalProgress() }, listener: ProcessListener? = null ): RsProcessResult { @@ -84,9 +83,6 @@ fun GeneralCommandLine.execute( listener?.let { processHandler.addProcessListener(it) } val output = try { - if (stdIn != null) { - processHandler.processInput.use { it.write(stdIn) } - } // execution happens here processHandler.runner() } finally {