Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running a program (F5) doesn't work with terminal command with quotes #1515

Closed
HybridDog opened this issue Jun 12, 2017 · 8 comments
Closed

Comments

@HybridDog
Copy link

HybridDog commented Jun 12, 2017

2017-06-12-211637_1920x1080_scrot

Building and Compiling works, but running doesn't. When I press F5, a lxterminal window appears with nothing in it.
lxde/lxterminal#23
The problem doesn't occur after removing the quotes.

@elextr
Copy link
Member

elextr commented Jun 12, 2017

What command is in menu->build->set build commands->execute and does that command work on the command line?

@lifesoftserv
Copy link

Have you installed LUA since your re-install?

@HybridDog
Copy link
Author

elextr, LifeSoftServ, the execute command is the same as when l didn't have the problem yet. Running in geany doesn't work with any programming language.

l think the problem has something to do with the terminal command: x-terminal-emulator -e "/bin/sh %c"
When l e.g. execute x-terminal-emulator -e "/bin/sh /bin/ls" in a terminal, l get the same problem.

@elextr
Copy link
Member

elextr commented Jun 14, 2017

@HybridDog x-terminal-emulator -e "/bin/sh /bin/ls" is wrong, the argument to /bin/sh needs to be a script with shell commands in it, not an executable program.

@HybridDog
Copy link
Author

You're right.
Anyway, when l run /bin/sh tmp.sh, the script is executed in the terminal, but when executing x-terminal-emulator -e "/bin/sh tmp.sh", a new terminal window appears which does nothing.

@elextr
Copy link
Member

elextr commented Jun 15, 2017

Well probably best to raise that on x-terminal-emulators issues.

@HybridDog
Copy link
Author

HybridDog commented Jun 15, 2017

x-terminal-emulator just executes the default terminal, which is lxterminal in my case.
If l replace x-terminal-emulator with e.g. xterm, the problem doesn't appear.

l just saw, there's already an issue: lxde/lxterminal#23
The problem doesn't appear if l remove the quotes. Executing multiple commands seems also to work without quotes.

Are there supposed to be quotes in the default terminal command?

@HybridDog HybridDog changed the title Running a program (F5) doesn't work Running a program (F5) doesn't work with terminal command with quotes Jun 15, 2017
@elextr
Copy link
Member

elextr commented Jun 15, 2017

So solved.

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

No branches or pull requests

3 participants