C
C#2mo ago
ILikeCats!

✅ Start process in dir - solved

how do i start a process not in bin? the process creates files i want to be read and made elsewhere.
7 Replies
FestivalDelGelato
show us your code we don't know if you use Process.Start or ProcessStartInfo or whatever, you usually simply write the absolute with the executable
ILikeCats!
ILikeCats!OP2mo ago
Process.startinfo but i can change
FestivalDelGelato
then again use the full path of the executable
Trinitek
Trinitek2mo ago
if the process is creating files relative to its "working directory" or "current directory" then you can set this with the WorkingDirectory property https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.workingdirectory?view=net-9.0
ILikeCats!
ILikeCats!OP2mo ago
Thank How do i close this post
leowest
leowest2mo ago
@ILikeCats! instead of changing the title just use $close as suggested by the bot message below
MODiX
MODiX2mo ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?