# HG changeset patch # User wenzelm # Date 1602603255 -7200 # Node ID b32eea5823c8ee2d2f7f0e96f2313ed0112482ce # Parent defbbff7396c147a165f4968445b6feda8a95018 tuned signature; diff -r defbbff7396c -r b32eea5823c8 src/Pure/General/path.scala --- a/src/Pure/General/path.scala Tue Oct 13 17:13:24 2020 +0200 +++ b/src/Pure/General/path.scala Tue Oct 13 17:34:15 2020 +0200 @@ -204,6 +204,9 @@ prfx + Path.basic(s + "~~") } + def platform_exe: Path = + if (Platform.is_windows) ext("exe") else this + private val Ext = new Regex("(.*)\\.([^.]*)") def split_ext: (Path, String) =