Hi Riz, You should probably try to replace & (execute in background) with && (execute next command if the previous one is successful).
Cheers, X. -- Xavier Cazin On Mon, Jan 2, 2017 at 3:06 PM, Riz <[email protected]> wrote: > hese are the things I already tried. > > Creating a .desktop file with > exec=tiddlywiki /path/to/my/wiki --server 8081 & xdg-open http:// > 127.0.0.1:8081 > > This quit without executing. > > Then I created a bash script with the same command and call it via the > launcher, that closed out too. Finally I added $SHELL to the end of bash > script. This one opens the firefox and navigates to the url, but no > tiddlywiki. > > *Launcher File contents* > [Desktop Entry] > Version=1.0 > Type=Application > Terminal=true > Exec=bash path/to/my/wiki/serve.sh > Name=Something > Icon=Some Icon > > > > > *Bash File Contents* > #!/bin/bash > > tiddlywiki main-wiki-server --server 8081 & xdg-open http://127.0.0.1:8081 > $SHELL > > > > I do have the necessary permissions. Both files are marked executable. The > command works when given independently in a terminal. > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/tiddlywiki/446bb72b-bfbd-42c3-a61a-ad5e6369139f%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/446bb72b-bfbd-42c3-a61a-ad5e6369139f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CADeSwYOE8%3D072SXCP8GHBYvFZF_bLf70c_xLz%3DJGpAYQRzbgCw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

