Skip to content

Conversation

m-dango
Copy link

@m-dango m-dango commented May 30, 2024

Closes #21

Kind of winging it with these changes but wanted to get the ball rolling on introducing this feature. Bare minimum functionality should be present with this.

@m-dango
Copy link
Author

m-dango commented Jun 2, 2024

screenshot

More to do, and definitely some refactoring needed, but moving towards something functionally viable.

run.started(fileItem);
// Extract via Test2::API to JSON
const execPromise = new Promise((resolve, reject) => {
child_process.exec(`perl -e '
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to update this to use settings.perlPath instead of "perl" somehow.

This is the way I call external perl scripts in the server side:

const process = async_execFile(settings.perlPath, settings.perlParams.concat(tidyParams), { timeout: 25000, maxBuffer: 20 * 1024 * 1024 }); 

@m-dango
Copy link
Author

m-dango commented Jun 3, 2024

Thanks for the feedback, I'll spend some more time working on this when I can. This month is looking fairly busy for me, and I still have a talk that needs writing for TPRC!

@m-dango
Copy link
Author

m-dango commented Mar 29, 2025

I've had a job change and am not actively working with Perl at the moment. Additionally have a few other projects on the go so it may be some time before I have the capacity to resume this. I will do so if I can but others are welcome to continue/replace where I left off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Support for the Testing API

2 participants