Skip to content

Commit

Permalink
Removal of instruction can produce random segmentation faults
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Nov 22, 2024
1 parent 8acd260 commit b521f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ISM/CommandLine.cr
Original file line number Diff line number Diff line change
Expand Up @@ -1625,7 +1625,7 @@ module ISM
def buildTasksFile
processResult = IO::Memory.new

Process.run("CRYSTAL_WORKERS=#{Ism.settings.systemMakeOptions[2..-1]} crystal build --release --progress #{ISM::Default::Filename::Task}.cr -o #{@settings.rootPath}#{ISM::Default::Path::RuntimeDataDirectory}#{ISM::Default::Filename::Task} -f json",
Process.run("crystal build --release --progress #{ISM::Default::Filename::Task}.cr -o #{@settings.rootPath}#{ISM::Default::Path::RuntimeDataDirectory}#{ISM::Default::Filename::Task} -f json",
error: processResult,
shell: true,
chdir: "#{@settings.rootPath}#{ISM::Default::Path::RuntimeDataDirectory}") do |process|
Expand Down Expand Up @@ -1653,7 +1653,7 @@ module ISM

logWriter = logEnabled ? IO::MultiWriter.new(STDOUT,logIOMemory) : Process::Redirect::Inherit

process = Process.run( "CRYSTAL_WORKERS=#{Ism.settings.systemMakeOptions[2..-1]} ./#{ISM::Default::Filename::Task}",
process = Process.run( "./#{ISM::Default::Filename::Task}",
output: logWriter,
error: logWriter,
shell: true,
Expand Down

0 comments on commit b521f95

Please sign in to comment.