Changeset 43 for trunk


Ignore:
Timestamp:
Feb 20, 2012, 7:50:23 AM (13 years ago)
Author:
chronos
Message:
  • Fixed: If executor is not specified then do not include their path in executed commandline.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Languages/LazFuckIDE.po

    r42 r43  
    44#: tcompiledform.caption
    55msgid "Compiled program"
    6 msgstr ""
     6msgstr "Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8"
    77
    88#: tform1.caption
  • trunk/Target/UTarget.pas

    r41 r43  
    372372  try
    373373    Text := FTargetCode;
    374     SaveToFile(CompiledFile);
     374    SaveToFile(UTF8Decode(CompiledFile));
    375375  finally
    376376    Free;
     
    399399  try
    400400    Process := TProcess.Create(nil);
    401     Process.CommandLine := LongFileName(ExecutorPath) + ' ' + LongFileName(CompiledFile);
     401    if ExecutorPath <> '' then Process.CommandLine := LongFileName(ExecutorPath) + ' ';
     402    Process.CommandLine := Process.CommandLine + LongFileName(CompiledFile);
    402403    Process.Options := [poWaitOnExit];
    403404    Process.Execute;
Note: See TracChangeset for help on using the changeset viewer.