Install builder cannot replace a currently executing binary on Linux - close #112
This commit is contained in:
1 parent
48d9273cc6
commit
5378afb6f8
4 files changed
+29
No files matched your search
@@ -0,0 +1,6 @@
|
||||
build do
|
||||
Environment.new do |env|
|
||||
env.Program("program.exe", "program.c")
|
||||
env.Install("install/program.exe", "program.exe")
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main(int argc, char * argv[])
|
||||
{
|
||||
sleep(2);
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user