[Github-comments] [geany/geany] geany build and run same time (#1327)

elextr notifications at xxxxx
Wed Nov 30 03:14:08 UTC 2016


>  i can not do 1 click and run with any command i will paste there

You can use exactly that command in the Geany menus if you set it as a command in the execute group (near the bottom) in the `Set Build Commands` dialog.

You cannot use exactly that exact command in any of the other command sets because `&&` is a shell feature, and only commands in the execute group run the command you set in a shell.

> you are suggesting me to open shell and do it by typing my hand everytime 

No, you are misunderstanding me, you set the command in Geany to run the shell and pass it your command as the -c option to the shell command.  Set `/bin/sh -c "your_command"` as the command in Geany. (note the quotes around your command)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1327#issuecomment-263771391
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161129/a31bcfd5/attachment.html>


More information about the Github-comments mailing list