diff --git a/core/org.eclipse.cdt.core.native/about.properties b/core/org.eclipse.cdt.core.native/about.properties index dbc5e28b3ea..fbbb1de36a3 100644 --- a/core/org.eclipse.cdt.core.native/about.properties +++ b/core/org.eclipse.cdt.core.native/about.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2014, 2024 Contributors to the Eclipse Foundation +# Copyright (c) 2014, 2025 Contributors to the Eclipse Foundation # # See the NOTICE file(s) distributed with this work for additional # information regarding copyright ownership. @@ -24,7 +24,7 @@ blurb=C/C++ Development Tooling Native Utilities\n\ Version: {featureVersion}\n\ Build id: {0}\n\ \n\ -Copyright (c) 2014, 2024 Contributors to the Eclipse Foundation +Copyright (c) 2014, 2025 Contributors to the Eclipse Foundation \n\ See the NOTICE file(s) distributed with this work for additional\n\ information regarding copyright ownership.\n\ diff --git a/core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/spawner/Spawner.java b/core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/spawner/Spawner.java index 172a93aca0e..022c02e7f53 100644 --- a/core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/spawner/Spawner.java +++ b/core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/spawner/Spawner.java @@ -423,6 +423,14 @@ public boolean isRunning() { return (raise(pid, SIG_NOOP) == 0); } + /** + * @since 6.3 + * @return the current pty instance for this spawner + */ + public PTY pty() { + return fPty; + } + private void exec(String[] cmdarray, String[] envp, String dirpath) throws IOException { String command = cmdarray[0]; SecurityManager s = System.getSecurityManager();