Skip to content

Fix runner terminal launch#82

Open
goyalpalak18 wants to merge 31 commits intohyphae:add-license-1from
goyalpalak18:fix-runner-terminal-launch
Open

Fix runner terminal launch#82
goyalpalak18 wants to merge 31 commits intohyphae:add-license-1from
goyalpalak18:fix-runner-terminal-launch

Conversation

@goyalpalak18
Copy link
Copy Markdown

Summary

This PR fixes a startup issue in runner.sh where APIS services would fail to launch on Linux systems using KDE Plasma (konsole) or XFCE (xfce4-terminal).

The Problem

The script was attempting to pass compound shell commands (e.g., cd ... && ...) directly to the terminal emulator's execution flag. Unlike GNOME Terminal, both konsole and xfce4-terminal expect a single executable path rather than a shell string. This caused the terminal windows to either close immediately or fail with a "command not found" error, preventing the emulator from starting.

The Solution

I updated the launch logic for both konsole and xfce4-terminal to wrap the commands in a bash -c subshell.

  • This ensures the directory change and command execution are interpreted correctly by the shell.
  • I also explicitly added a command to keep the shell session open after execution, ensuring the terminal window remains visible (honoring the intended "hold" behavior).

Verification

To verify this fix:

  1. Use a Linux environment running KDE Plasma or XFCE.
  2. Run make run-apis-emulator.
  3. Result: The terminal window now opens successfully and remains open while the emulator runs, instead of crashing on startup.

WillSams and others added 30 commits February 7, 2025 09:53
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Add initial GOVERNANCE.md

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
…arkdown

Add CODE_OF_CONDUCT.md

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Add CONTRIBUTING.MD

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Add initial COMMITTERS.csv file

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
…patch-1

Improve Makefile help target for better contributor guidance

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Update README.md Technology spelling

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
…y: Akarsh Sahlot <akarshsahlot8@gmail.com>

- Restructure content to match LF Energy CoMPAS format
- Move Quick Start section to top for better accessibility
- Organize system components into logical groups
- Consolidate support and community resources
- Add proper badges section
- Maintain all essential technical information

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
docs: reorganize README.md to follow LF Energy standards Signed-off-b…

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Create scorecard.yml

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
docs: reorganize README.md to follow LF Energy project standards

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
docs: fix broken links and remove unverified content

Remove fictional testimonials, non-existent documentation links, 
and unverified statistics while maintaining professional structure.

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Updated README.md to follow LF Energy CoMPAS format,removed broken links and removed MongoDB as a requirement

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Adjusted permissions and action versions

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Update Scorecard workflow dependencies and permissions

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Updated retention days for SARIF file upload and changed CodeQL action version.

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Modify scorecard workflow for SARIF retention and version

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Added  OpenSSF Scorecard Badge. Removed introductory tagline and image from README.

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Update README to add OpenSSF Scorecard Badge

Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
Signed-off-by: Palak Goyal <goyalpalak1806@gmail.com>
Co-authored-by: Yatin Jamwal <yatinjamwal07@gmail.com>
@goyalpalak18 goyalpalak18 force-pushed the fix-runner-terminal-launch branch from 0e765d0 to a9d2c6f Compare January 30, 2026 05:01
@AkarshSahlot
Copy link
Copy Markdown
Contributor

@Dipeua have a look o this

@goyalpalak18 goyalpalak18 force-pushed the fix-runner-terminal-launch branch from a9d2c6f to 7cace7e Compare April 1, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants