Skip to content

Commit

Permalink
more information
Browse files Browse the repository at this point in the history
  • Loading branch information
getnamo committed Aug 3, 2019
1 parent a3080df commit 812d765
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/CommandLine/Private/NodeCmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ FNodeCmd::FNodeCmd()
DefaultMainScript = TEXT("nodeWrapper.js");
DefaultPort = 4269;
bShouldMainRun = true;
ProcessDirectory = FPaths::ConvertRelativePathToFull(FPaths::ProjectDir() + "Plugins/nodejs-ue4/Source/ThirdParty/node");

ProcessDirectory = FPaths::ConvertRelativePathToFull(FPaths::ProjectDir() + TEXT("Plugins/nodejs-ue4/Source/ThirdParty/node"));
PluginContentRelativePath = TEXT("../../../Content/Scripts/");
Socket = MakeShareable(new FSocketIONative);
bShouldStopMainScriptOnNoListeners = false;
Expand Down Expand Up @@ -282,6 +283,8 @@ bool FNodeCmd::RunMainScript(FString ScriptRelativePath, int32 Port)

bShouldMainRun = true;

UE_LOG(LogTemp, Log, TEXT("Starting %s at %s with %s"), *NodeExe, *ProcessDirectory, *ScriptRelativePath)

PROCESS_INFORMATION piProcInfo = CreateChildProcess(NodeExe, ScriptRelativePath, ProcessDirectory);

while (bShouldMainRun)
Expand Down

0 comments on commit 812d765

Please sign in to comment.