Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
d21076b1
提交
d21076b1
authored
12月 22, 2015
作者:
Noel Grandin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Issue #195: The new Maven uses a .cmd file instead of a .bat file
上级
4be1a5ce
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
12 行增加
和
2 行删除
+12
-2
changelog.html
h2/src/docsrc/html/changelog.html
+2
-0
BuildBase.java
h2/src/tools/org/h2/build/BuildBase.java
+10
-2
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
d21076b1
...
...
@@ -21,6 +21,8 @@ Change Log
<h2>
Next Version (unreleased)
</h2>
<ul>
<li>
Issue #195: The new Maven uses a .cmd file instead of a .bat file
</li>
<li>
Issue #212: EXPLAIN PLAN for UPDATE statement did not display LIMIT expression
</li>
<li>
Support OFFSET without LIMIT in SELECT
...
...
h2/src/tools/org/h2/build/BuildBase.java
浏览文件 @
d21076b1
...
...
@@ -307,10 +307,18 @@ public class BuildBase {
*/
protected
int
execScript
(
String
script
,
StringList
args
)
{
if
(
isWindows
())
{
script
=
script
+
".bat"
;
}
// Under windows, we use the "cmd" command interpreter since it will search the path for us
// without us having to hardcode an extension for the script we want.
// (Sometimes we don't know if the extension will be .bat or .cmd)
StringList
newArgs
=
new
StringList
();
newArgs
.
add
(
"/C"
);
newArgs
.
add
(
script
);
newArgs
.
addAll
(
args
);
return
exec
(
"cmd"
,
newArgs
);
}
else
{
return
exec
(
script
,
args
);
}
}
/**
* Execute a program in a separate process.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论