<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eiji8pou</author_name>
  <author_url>https://blog.hatena.ne.jp/eiji8pou/</author_url>
  <blog_title>eiji8pou's diary</blog_title>
  <blog_url>https://eiji8pou.hatenadiary.com/</blog_url>
  <categories>
    <anon>SGE</anon>
    <anon>Lua</anon>
  </categories>
  <description>gui.getexename()を使えば、exeのファイル名を取得できる。&quot;SGE.exe&quot;と決め打ちしてもいいが、ゲームとして世に出す時には別のファイル名にしてあることも多いだろうから、最初から変えても大丈夫なようにスクリプトを組むべし。 local exe = gui.getexename() しかし、先頭に\がついているので、それを取り除かなければならない。 exe:gsub(&quot;\\&quot;, &quot;&quot;) その後で、gui.shell()に渡す。 gui.shell(exe) そうすると自分自身を多重起動する。後はlock.singleton()で動作を別にする。 root.lua functio…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feiji8pou.hatenadiary.com%2Fentry%2F20100522%2F1274532344&quot; title=&quot;SGEで自分自身を多重起動させる。 - eiji8pou&amp;#39;s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-05-22 21:45:44</published>
  <title>SGEで自分自身を多重起動させる。</title>
  <type>rich</type>
  <url>https://eiji8pou.hatenadiary.com/entry/20100522/1274532344</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
